We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As the title, i have a model type t, which's definition is below:
module Product = { type t = VideoToGif | GifEditor | GifCompress } module Event = { type businessPoint = { name: string, data: Js.Dict.t<string>, } type t = | EnterPage | LeavePage | BusinessPoint(businessPoint) } type t = { event: Event.t, product: Product.t, time: string, }
How to encode and decode the struct with type t?
The text was updated successfully, but these errors were encountered:
I just found the answer in the documentation...... doc
Sorry, something went wrong.
There is still a problem that i don't know how to encode a struct with type Event.t
Event.t
No branches or pull requests
As the title, i have a model type t, which's definition is below:
How to encode and decode the struct with type t?
The text was updated successfully, but these errors were encountered: