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

Make name/label entity prop validation case-insensitive #983

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

ktuite
Copy link
Member

@ktuite ktuite commented Sep 13, 2023

Closes getodk/central#482

What has been done to verify that this works as intended?

Tests

Why is this the best possible solution? Were any other approaches considered?

This wont make the property name lowercase but it will temporarily lowercase it before doing the regex validation.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Does this change require updates to the API documentation? If so, please update docs/api.md as part of this PR.

Before submitting this PR, please make sure you have:

  • run make test-full and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code from external sources are properly credited in comments or that everything is internally sourced

@ktuite ktuite merged commit 9298c7f into master Sep 13, 2023
5 checks passed
@ktuite ktuite deleted the ktuite/entity-prop-case branch September 13, 2023 22:33
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.

Reject system-reserved entity property names case-insensitively
2 participants