You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docs: Mention SQIDs as an alternative to to_pid_param
closes#5089
Is this ok? I didn't want to pull too much content into the guide as it might confuse folks, went with little trail and a link to detailed guide.
Copy file name to clipboardExpand all lines: guides/schema/object_identification.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,8 @@ class MySchema < GraphQL::Schema
30
30
end
31
31
```
32
32
33
+
> [SQIDs](https://sqids.org/ruby) are an alternative to `to_gid_param` which generate shorter IDs. Here is a [detailed guide](https://blog.gripdev.xyz/2024/06/09/sqids-graphql-and-ruby/) of how they can be used.
34
+
33
35
## Node interface
34
36
35
37
One requirement for Relay's object management is implementing the `"Node"` interface.
0 commit comments