Commit 037cf42
Lee Richmond
Lock version of jsonapi-renderer
Per Slack:
Tom Luce [12:08 PM]
One thing I did find today @richmolj is that I believe that the latest version of the jsonapi-renderer gem (0.2.1) introduces a breaking change. Specifically: When including resources that have an underscore in their name (e.g. careers_pages/1?include=careers_pages_blocks) the renderer now throws an InvalidKey error because the name doesn't match a regex they've introduced.
It's not an issue with Graphiti per-say but I thought i'd flag it as something worth noting because i've burnt some time getting to the bottom of it. I'll have to raise a separate issue on the renderer gem to change the regex to allow underscores, but in the meantime locking the version to 0.2.0 is the only way to get Graphiti to work properly! (edited)
If you're interested you can see the change here -> jsonapi-rb/jsonapi-renderer@v0.2.0...v0.2.11 parent 6e87d5e commit 037cf42
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
0 commit comments