Skip to content

[ENHANCEMENT] add legend schema zod object#96

Open
shahrokni wants to merge 1 commit intomainfrom
feat/add_zod_schemas
Open

[ENHANCEMENT] add legend schema zod object#96
shahrokni wants to merge 1 commit intomainfrom
feat/add_zod_schemas

Conversation

@shahrokni
Copy link
Copy Markdown
Contributor

@shahrokni shahrokni commented Mar 31, 2026

Relates to perses/perses#3014

Description

The idea is to create schema zod objects which will be used in plugins for Setting validations. Instead of creating a huge PR, the idea should be validated by submitting a small PR. So here, I have added the zod object schema for legend.
Eventually every schema under cue.common should have an equivalent zod object schema

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.
  • E2E tests are stable and unlikely to be flaky.
    See e2e docs for more details. Common issues include:
    • Is the data inconsistent? You need to mock API requests.
    • Does the time change? You need to use consistent time values or mock time utilities.
    • Does it have loading states? You need to wait for loading to complete.

Signed-off-by: Seyed Mahmoud SHAHROKNI <seyedmahmoud.shahrokni@amadeus.com>
@shahrokni shahrokni marked this pull request as ready for review March 31, 2026 15:22
@shahrokni shahrokni requested a review from a team as a code owner March 31, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant