Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom fields on enum #130

Open
ikbendewilliam opened this issue Feb 6, 2023 · 0 comments · Fixed by #147
Open

Custom fields on enum #130

ikbendewilliam opened this issue Feb 6, 2023 · 0 comments · Fixed by #147
Assignees

Comments

@ikbendewilliam
Copy link
Contributor

It would be nice if we can add values to the enum's. Like this for example:

AgeRange:
  path: webservice/user
  type: enum
  properties:
    child:
      startAge: 0
      endAge: 10
    teen:
      startAge: 10
      endAge: 20
    youngAdult:
      startAge: 20
      endAge: 30

The generator would be smart enough to see that startAge and endAge are custom fields.
TBD how we can add default values for these fields

@jorre127 jorre127 moved this from Todo to In Progress in icapps Flutter OSS Sep 4, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 6, 2023
@jorre127 jorre127 moved this from In Progress to In Review in icapps Flutter OSS Sep 6, 2023
jorre127 added a commit that referenced this issue Sep 7, 2023
jorre127 added a commit that referenced this issue Sep 7, 2023
jorre127 added a commit that referenced this issue Sep 7, 2023
jorre127 added a commit that referenced this issue Sep 7, 2023
jorre127 added a commit that referenced this issue Sep 7, 2023
jorre127 added a commit that referenced this issue Sep 7, 2023
jorre127 added a commit that referenced this issue Sep 7, 2023
jorre127 added a commit that referenced this issue Sep 7, 2023
jorre127 added a commit that referenced this issue Sep 8, 2023
jorre127 added a commit that referenced this issue Sep 8, 2023
jorre127 added a commit that referenced this issue Sep 8, 2023
jorre127 added a commit that referenced this issue Sep 8, 2023
jorre127 added a commit that referenced this issue Sep 8, 2023
jorre127 added a commit that referenced this issue Sep 8, 2023
jorre127 added a commit that referenced this issue Sep 8, 2023
jorre127 added a commit that referenced this issue Sep 11, 2023
jorre127 added a commit that referenced this issue Sep 11, 2023
jorre127 added a commit that referenced this issue Sep 14, 2023
ikbendewilliam added a commit that referenced this issue Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging a pull request may close this issue.

2 participants