Skip to content

support user provided custom serialization/deserialization #77

@ethanniser

Description

@ethanniser

currently serialization/deserialization is hard coded in

there are many valid usecase for a user wanting a custom solution:

  • working around existing search param use cases
  • custom array / object notation
  • support for dates/bigints (superjson)

maybe look at how trpc handles custom transformers?

To discuss:
What should the signature of the swappable serializer be?
How to handle differences between search param and route param serialization / deserialization?

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