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

Error: Type "Json" was defined more than once #158

Closed
Fi1osof opened this issue Aug 29, 2018 · 4 comments · Fixed by #196
Closed

Error: Type "Json" was defined more than once #158

Fi1osof opened this issue Aug 29, 2018 · 4 comments · Fixed by #196
Labels
🚀enhancement New feature or request ⏳waiting for release This issue or pull request is waiting to be released

Comments

@Fi1osof
Copy link
Contributor

Fi1osof commented Aug 29, 2018

Bug.

let user = `

  scalar Json

  type User {
    id: ID!
    data: Json 
  } 
`

...

let resource = `

  scalar Json

  type Resource {
    id: ID!
    data: Json 
  } 
`
mergeTypes([user, resource], { all: true });

Error: Type "Json" was defined more than once
@iamrommel
Copy link
Contributor

i created a pull request for this but it was not yet merged on the main branch because of lacking test, which i was not able to create because i'm away from holiday

#157

@otbe
Copy link

otbe commented Sep 3, 2018

This bites me too, but for enum definitions.
Any chance to fix this too? :)

@cfnelson cfnelson added the 🚀enhancement New feature or request label Sep 11, 2018
@kamilkisiela
Copy link
Collaborator

Should be fixed by #196

@kamilkisiela kamilkisiela mentioned this issue Jun 25, 2019
@kamilkisiela kamilkisiela added the ⏳waiting for release This issue or pull request is waiting to be released label Jun 25, 2019
@kamilkisiela
Copy link
Collaborator

It's available now under v1.6.0-beta.2. Let us know if it works :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀enhancement New feature or request ⏳waiting for release This issue or pull request is waiting to be released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants