jaredly / jaredly/ppx_autoserialize

Doesn't support polymorphic variants

Open
#3 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
OCaml
Stars
27
Forks
4
PR merge metrics
No merged PRs in 30d

Description

```reason
type state = [`Pending | `Success | `Error ];
```
Throw an error: "Unexpected core type, cannot convert"

Hoping can support some custom serialize function to override the default to string function.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the polymorphic variant example from the issue and inspect the ppx_autoserialize entry point that raises "Unexpected core type, cannot convert." Determine how a custom serialization function should override the default string conversion; done means the example serializes successfully with that override instead of raising the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.