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

Remote schema relations arguments type does not accept ENUM type #6259

Open
Ibrahim9595 opened this issue Nov 26, 2020 · 3 comments
Open

Remote schema relations arguments type does not accept ENUM type #6259

Ibrahim9595 opened this issue Nov 26, 2020 · 3 comments
Assignees
Labels
a/api/graphql c/remote-joins Related to remote joins k/enhancement New feature or improve an existing feature

Comments

@Ibrahim9595
Copy link

I am trying to make a Remote Schema Relationships the remote Query has the following signature
Query.ListPaymentMethods( limit: Float cursor: String type: PaymentType! ): [CustomerCardType!]!
the PaymentType is an ENUM type I want to have a remote relationship to call this mutation given a fixed type but I keep getting the following error
in table "organizations": in remote relationship"cards": cannot validate remote relationship because expected type "PaymentType" but got "String"
here is a screen shot
error

@sebastiancichos
Copy link

Same here bumping

@tirumaraiselvan tirumaraiselvan added the c/remote-joins Related to remote joins label Nov 30, 2020
@tirumaraiselvan
Copy link
Contributor

You are right, this is not supported yet. Enums should be deduced from string values.

@tirumaraiselvan tirumaraiselvan added the k/enhancement New feature or improve an existing feature label Dec 16, 2020
@johnshroff
Copy link

This is still not supported? :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a/api/graphql c/remote-joins Related to remote joins k/enhancement New feature or improve an existing feature
Projects
None yet
Development

No branches or pull requests

6 participants