Skip to content

Messages appear on server as TaggedObject rather than clojure value. #47

Description

@retrogradeorbit

Hi there again!

So after getting fressian transport working, what I've found is when you send a message from the server to the client, the message appears on the client close to what was sent (a vector turns into a sequence), but when sending from the client to the server, instead of getting either, I seem to get an org.fressian.TaggedObject Object instead of a clj collection.

example project here: https://github.com/retrogradeorbit/multiplayer

After client connects it sends [:login :test] down the channel. On receipt, the server prints what it gets and the following appears:

message was org.fressian.TaggedObject@e272218

Note, this is embedded inside the hashmap response. Printing the whole message pulled from the channel:

{:message #object[org.fressian.TaggedObject 0x2f5285c "org.fressian.TaggedObject@2f5285c"]}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions