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
GlobalID.from_str("Node:1")
GlobalID("Node", 1) # support for numbers
GlobalID(...).as_string() # not sure about the name, but it's nicer than str(GlobalID(...))
I'd use these in tests 😊
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
@aryaniyaps I think that is unrelated - you can have an ID scalar in your schema even though it is not globally unique. Conversely, an ID in your schema can be a globally unique global ID. This ticket is only intended to make life easier with a specific standard of global IDs (Base64 "Typename:id").
@aryaniyaps I think that is unrelated - you can have an ID scalar in your schema even though it is not globally unique. Conversely, an ID in your schema can be a globally unique global ID. This ticket is only intended to make life easier with a specific standard of global IDs (Base64 "Typename:id").
I can see that its unrelated to this issue, but I feel that putting it off will further burden migrations from GlobalID to ID.. right now the schema generated by default doesnt play well with relay, and a workaround is needed to make things work.. so I thought it would be worth bringing up that issue as well..
I think we should add the following APIs:
I'd use these in tests 😊
Upvote & Fund
The text was updated successfully, but these errors were encountered: