Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

Added JSON Scalar type. #8

Merged
merged 1 commit into from
Dec 20, 2015
Merged

Added JSON Scalar type. #8

merged 1 commit into from
Dec 20, 2015

Conversation

egdelwonk
Copy link
Contributor

Added support for json attribute types.

Hopefully Resolves #7.

Sorry for white space fixes too, I can break those out into separate commits if you'd like.

@Aurelsicoko
Copy link
Member

Thanks @egdelwonk for this PR! Looks good to me!

Just in case, there are some opened discussions for adding a map type (graphql/graphql-spec#101) in GraphQL. We should keep an eye on them in the future!

loicsaintroch pushed a commit that referenced this pull request Dec 20, 2015
Added JSON Scalar type.
@loicsaintroch loicsaintroch merged commit 89de693 into strapi:master Dec 20, 2015
@strapi strapi locked and limited conversation to collaborators Dec 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

If attribute type is JSON, the return value is coerced to a string.
3 participants