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
But when I try to subscribe to an object I can still only refer to it by the primary key in the table, not uuid.
I would like to use UUID instead of private key in my subscriptions, as UUID are no sequences, and impossible to guess.
Also the rest of the application works with UUID as the unique identifier.
I tried the 'pkField' setting in the configuration block of the connection, but this didn't seem to make any difference.
I'm subscribing with the following code, this fails:
tl;dr is it possible to subscribe to objects with another field than the private key?
I'm trying to connect an existing database model to the asynchronous websockets.
I tried the pkField setting in connect, like this:
But when I try to subscribe to an object I can still only refer to it by the primary key in the table, not uuid.
I would like to use UUID instead of private key in my subscriptions, as UUID are no sequences, and impossible to guess.
Also the rest of the application works with UUID as the unique identifier.
I tried the 'pkField' setting in the configuration block of the connection, but this didn't seem to make any difference.
I'm subscribing with the following code, this fails:
What does work is the pk, even though pkField is set to 'uuid':
The text was updated successfully, but these errors were encountered: