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

ssomnoremac picture ssomnoremac  路  5Comments

jayp picture jayp  路  3Comments

tazsingh picture tazsingh  路  3Comments

marshall007 picture marshall007  路  3Comments

outsidenote picture outsidenote  路  4Comments