graphql-engine icon indicating copy to clipboard operation
graphql-engine copied to clipboard

Remote schema relations arguments type does not accept ENUM type

Open Ibrahim9595 opened this issue 4 years ago • 3 comments

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

Ibrahim9595 avatar Nov 26 '20 10:11 Ibrahim9595

Same here bumping

sebastiancichos avatar Nov 30 '20 04:11 sebastiancichos

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

tirumaraiselvan avatar Nov 30 '20 04:11 tirumaraiselvan

This is still not supported? :(

johnshroff avatar May 16 '24 14:05 johnshroff