fix(graphile-build-pg): add more numeric casting exceptions#661
fix(graphile-build-pg): add more numeric casting exceptions#661benjie merged 12 commits intographile:v4from
Conversation
|
Good catch! We mostly use integration tests, so please add a few columns to graphile-engine/packages/postgraphile-core/__tests__/kitchen-sink-schema.sql Lines 253 to 289 in 16d7b30 Data to here: And adjust the operations here: And here: Then run And finally validate that these snapshot additions are what you'd expect. |
86525d2 to
e8513ec
Compare
|
@benjie Thanks for the pointers. Also added the reg types to pgtypes plugin so they're not shown as |
a2d7345 to
c3bd244
Compare
|
I can't seem to easily support regrole and regnamespace without breaking support for pg 9.4 |
Is that just for the tests, or functionality? If just tests, skip that for now (or add them to a |
It's just for the tests, seeing that adding the oid type to the pgTypes plugin doesn't cause any breaking behaviour. |
…raphql types with proper description and oid mapping
69145c3 to
cd31450
Compare
cd31450 to
ef3050e
Compare
|
@benjie Looks like I managed to get an all green on the tests. Let me know if something is not quite up to snuff, then I can always rework. |
|
Please do not rebase or edit history from this point forward. I will squash and merge when the time comes. |
|
@wesselvdv @-me when you're ready for a re-review. Though you've reset |
…work_id_seq reset
|
@benjie I added the proper reset for |
… & add missing reg* fields in mutation
resolves #660
I couldn't find any test(s) related to this portion of code?