Skip to content

[GraphQL] Different security and serialization for item_query and collection_query#863

Merged
alanpoulain merged 3 commits into
api-platform:masterfrom
mahmoodbazdar:master
Sep 1, 2019
Merged

[GraphQL] Different security and serialization for item_query and collection_query#863
alanpoulain merged 3 commits into
api-platform:masterfrom
mahmoodbazdar:master

Conversation

@mahmoodbazdar

Copy link
Copy Markdown
Contributor

Updating docs for this pull request:
api-platform/core#3015

Comment thread core/graphql.md Outdated
Comment thread core/graphql.md Outdated
Comment thread core/graphql.md Outdated
Comment thread core/graphql.md Outdated
@alanpoulain

Copy link
Copy Markdown
Member

Thanks! I would have used snake_case everywhere.
It would be more logical if you could have more details when querying an item and less when querying a collection don't you think?

@mahmoodbazdar

Copy link
Copy Markdown
Contributor Author

Yes you are right, I'll change it.

- Change serialization groups to snake case
- Switch serialization groups for items and collections so be closer to real usage
- updating sentences structure to be more readable
Comment thread core/graphql.md Outdated
- there is one endpoint for graphql so don't use item before endpoint(self note)

Co-Authored-By: Alan Poulain <contact@alanpoulain.eu>
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