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

json attribute casing #9

Open
steveoh opened this issue Feb 11, 2016 · 1 comment
Open

json attribute casing #9

steveoh opened this issue Feb 11, 2016 · 1 comment
Labels
service - api searching the search endpoint of the api v2.0.0
Milestone

Comments

@steveoh
Copy link
Member

steveoh commented Feb 11, 2016

in version ^1.x we introduced a hidden flag to keep attributes cased the same way they are in the data. The camelCase code we use munged data.

I propose we remove the camel case option and introduce

  • upper
  • lower
  • data (make default)
@steveoh steveoh added the v2.0.0 label Feb 11, 2016
@steveoh steveoh added this to the v2.0.0 milestone Feb 11, 2016
@steveoh steveoh added the service - api searching the search endpoint of the api label Sep 7, 2017
@steveoh
Copy link
Member Author

steveoh commented Sep 7, 2022

all attributes are lower in postgres. data doesn't make a ton of sense.

  • upper (upper case all output properties)
  • lower (lower case all output properties)
  • input (set properties to match input request)

These options make the most sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service - api searching the search endpoint of the api v2.0.0
Projects
None yet
Development

No branches or pull requests

1 participant