Skip to content

Commit eb7bc21

Browse files
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.
1 parent 61d697b commit eb7bc21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

guides/schema/object_identification.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ class MySchema < GraphQL::Schema
3030
end
3131
```
3232

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+
3335
## Node interface
3436

3537
One requirement for Relay's object management is implementing the `"Node"` interface.

0 commit comments

Comments
 (0)