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

Missing @madeRequired decorator for versioning #2731

Closed
marcselman opened this issue Dec 5, 2023 · 2 comments · Fixed by #3292
Closed

Missing @madeRequired decorator for versioning #2731

marcselman opened this issue Dec 5, 2023 · 2 comments · Fixed by #3292
Assignees
Milestone

Comments

@marcselman
Copy link

I have a datamodel that changed from being optional to being required in a newer version.
There is a nice @madeOptional decorator, but there is no @madeRequired decorator.
There are some workarounds but they do not exactly generate the wanted results.
Is this something that can be easily added?

@timotheeguerin
Copy link
Member

est: 8

@borrrden
Copy link
Contributor

borrrden commented May 1, 2024

I would also like to see this become a reality....not sure what the alternative is.

@timotheeguerin timotheeguerin self-assigned this May 9, 2024
github-merge-queue bot pushed a commit that referenced this issue May 9, 2024
Hopefully I got all the places I needed to get and added enough tests.
My methodology was pretty much "Look at what madeOptional does, and do
the opposite"

Closes #2731

---------

Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants