Postgraphile: unable to save UUID[]

Created on 16 Jul 2017  路  2Comments  路  Source: graphile/postgraphile

I'm not sure if this is postgraphql related or graphql related but I'm having trouble with the auto generated mutations when saving arrays of UUIDs

for example

mutation {
createPost(
input: {
user_ids: ["9b6453br-e235-4edb-bbf9-97495d9a42a1"]
}
)
}

will give the error

"message": "column \"user_ids\" is of type uuid[] but expression is of type text[]"

馃槍 Fixed in v4

Most helpful comment

Ran into this issue today. Tested the alpha and it did the trick.

All 2 comments

I think this is fixed in the V4 alpha, can you confirm?

npm install postgraphql@next

Ran into this issue today. Tested the alpha and it did the trick.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chadfurman picture chadfurman  路  33Comments

FGRibreau picture FGRibreau  路  36Comments

calebmer picture calebmer  路  87Comments

benjie picture benjie  路  33Comments

EyMaddis picture EyMaddis  路  58Comments