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

Camelcase properties get generated as lowercase in the filter output #40

Closed
peter-olom opened this issue Apr 3, 2024 · 1 comment
Closed

Comments

@peter-olom
Copy link

Describe the bug
Camelcase properties get generated as lowercase in the filter output e.g adminHome -> adminhome

To Reproduce
Steps to reproduce the behavior:

  1. Create an Entity and ObjectType with camel cased property e.g adminHome
  2. Pass the filter as a where prop to the entity repository
  3. Error like adminhome is not a valid column should throw

Expected behavior
Should work just like the non-camel cased columns.

Desktop (please complete the following information):

  • Mac OS Sonoma
  • Chrome
@Adrinalin4ik
Copy link
Owner

@peter-olom that's true. We don't support camel case now. Overall, postgres doesn't like using camel case. In order to use camel case in porstgres you would need to wrap tables, fields in double quotes which is not so native. Maybe in future we will add support of it, but not for now.

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

No branches or pull requests

2 participants