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

Primary key is case sensitive #223

Open
akeemphilbert opened this issue Sep 20, 2022 · 0 comments
Open

Primary key is case sensitive #223

akeemphilbert opened this issue Sep 20, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@akeemphilbert
Copy link
Contributor

akeemphilbert commented Sep 20, 2022

If a property in the openapi schema has uppercase character (e.g. 'publishId') it is not registered correctly as a part of the primary key because the string is converted to lower case before a comparison

See: https://github.com/wepala/weos/blob/feature/222/projections/gorm.go#L341

@akeemphilbert akeemphilbert added the bug Something isn't working label Sep 20, 2022
akeemphilbert added a commit that referenced this issue Sep 20, 2022
…the current property is in the primary key array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant