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

GraphQL (resolver) compatibility #70

Open
Gozala opened this issue Jun 11, 2021 · 3 comments
Open

GraphQL (resolver) compatibility #70

Gozala opened this issue Jun 11, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Gozala
Copy link

Gozala commented Jun 11, 2021

Would love to use this in conjunction with Fanua's graphql support, but running into issues because fauna generates template UDFs from GraphQL schema which then fail migrations because CreateFunction would fail.

While it would be great to have graphql support, even addressing incompatibility going to make a huge difference.

@Gozala
Copy link
Author

Gozala commented Jun 11, 2021

Not sure how visible that is but it might help if initial schema could be generated from the DB itself.

@Gozala
Copy link
Author

Gozala commented Jun 11, 2021

Another problem I'm running into with this is that defined resolver functions often refer to indexes and collections defined by graphql which causes script generator to error with message like:

The following resource is not defined anywhere in the resource folders
      type: Index, name: unique_Block_number
  and was referenced from:
      type: Function, name: importBlock
  
  todo: add a boolean to bypass this error in case users
        want to reference resources that were defined manually.

@rts-rob
Copy link
Contributor

rts-rob commented Aug 31, 2021

Thanks, @Gozala - I'd like to see GraphQL schema support as well!

The other issue you run into is related to #50 - we're currently thinking about the best way to address these all in one update.

@rts-rob rts-rob self-assigned this Aug 31, 2021
@rts-rob rts-rob added the enhancement New feature or request label Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants