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
I noticed a recent change now requires any class that has include GlobalID::Identification must now also respond to .primary_key. I think it came from #163
I'm not sure if GlobalId is intended to be used on only Active Record / Active Model, but that's what I've been doing. The readme says:
Mix GlobalID::Identification into any model with a #find(id) class method
If model in this sense means generically "a domain model" than I think this is a bug or breaking change. And if not, the readme needs to be updated to say both .findand.primary_key.