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

Block any() in places where there isn't a direct 1:1 translation to JSON #2081

Closed
anthony-c-martin opened this issue Mar 31, 2021 · 1 comment · Fixed by #2359
Closed

Block any() in places where there isn't a direct 1:1 translation to JSON #2081

anthony-c-martin opened this issue Mar 31, 2021 · 1 comment · Fixed by #2359
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@anthony-c-martin
Copy link
Member

anthony-c-martin commented Mar 31, 2021

Some examples:

  • parent property.
  • scope property.
  • dependsOn property.

Created based on discussion under #1876

@majastrz
Copy link
Member

The plan for this one will be to add a DisallowAny flag to the parent, scope, and dependsOn properties. The deep assignability logic will then block attempts to assign values of any type to those properties.

@majastrz majastrz self-assigned this Apr 15, 2021
@ghost ghost locked as resolved and limited conversation to collaborators May 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants