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

follow JSON API #164

Closed
wants to merge 5 commits into from
Closed

Conversation

kalafus
Copy link
Contributor

@kalafus kalafus commented Feb 6, 2024

What

JSON API uses snake_case

Why

enhanced clarity when CodingKeys can be removed

Affected Areas

Query & Result structs

@kalafus
Copy link
Contributor Author

kalafus commented Feb 7, 2024

Code Duplication is pre-existing; all of it is in Tests.

Copy link

sonarcloud bot commented Feb 7, 2024

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

107 New issues
0 Security Hotspots
No data about Coverage
2.3% Duplication on New Code

See analysis details on SonarCloud

@SunburstEnzo
Copy link
Contributor

Sorry but I disagree, Swift uses camel case for property names, it should stay consistent in the event a different encoding is used

@kalafus kalafus closed this Feb 10, 2024
@kalafus
Copy link
Contributor Author

kalafus commented Feb 10, 2024

OK, thanks for explaining!

@kalafus kalafus deleted the MacPaw.snakecase_json_api branch February 10, 2024 16:04
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.

2 participants