Support for non-integer IDs
Closed this issue · 4 comments
aidandamerell commented
Non integer IDs do not appear to get tracked as part of the cache and therefore use of useMutation
treats these as create
actions. This causes issues with UUID primary keys.
Is there some way to fix this in the schema or is this an underlying issue?
Thanks,
aribouius commented
@aidandamerell hey thanks for reporting this. It looks like an underlying issue, but one that should be relatively easy to fix. Give me a day or two to patch it up!
aidandamerell commented
@aribouius Awesome, thanks Ari! Great project btw!
aribouius commented
@aidandamerell a patch for this is now available on version 0.0.16
.
Relevant commit can be seen here.
aidandamerell commented
Excellent work, thanks @aribouius!