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'm expecting that the state on the client to be something like
{}
but instead I'm getting
{
playerIds: [],playerState: {}
}
From everything I can find, it seems like I'm using everything properly but you'll have to let me know.
I would like to hide the property names in addition to the elements of the collection.
I see the value in restricting info about the server implementation specifics.
I could achieve this by not annotating types for those properties but that restricts the usefulness of any presence in use.
After looking into this, it may just be a result of the schema serialization not taking filters into account.
This might be fixed by adding an annotation like @internal to notate fields that are only meant for the server.
The text was updated successfully, but these errors were encountered:
WesleyClements
changed the title
Applying filter to a non primitive property still sends an empty collection to the client
Applying filter to a non primitive property still creates an empty collection on the client
Apr 3, 2022
The code I have is something along the lines of
I'm expecting that the state on the client to be something like
but instead I'm getting
From everything I can find, it seems like I'm using everything properly but you'll have to let me know.
I would like to hide the property names in addition to the elements of the collection.
I see the value in restricting info about the server implementation specifics.
I could achieve this by not annotating types for those properties but that restricts the usefulness of any presence in use.
After looking into this, it may just be a result of the schema serialization not taking filters into account.
This might be fixed by adding an annotation like
@internal
to notate fields that are only meant for the server.The text was updated successfully, but these errors were encountered: