marigold-dev / marigold-dev/openapi-router
`Unbound value string_of_yojson` error during build
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 9
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
I'm getting the error `Unbound value string_of_yojson` when building this library from nix. According to the ppx_yojson_conv docs, the `Ppx_yojson_conv_lib.Yojson_conv.Primitives` module is meant to be opened at the top of a file using the ppx in order to make these unprefixed identifiers visible. I assume this is a change in the ppx that removed the prefixed identifiers, and since there's no upper bound in the opam file, my newer version of the ppx is considered compatible.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the opam file and the ppx_yojson_conv documentation, then reproduce the Nix build to confirm which dependency version causes the unbound identifier. Determine the compatible dependency constraint or identifier usage, and consider the issue done when the library builds successfully with the supported ppx_yojson_conv versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- backend-api-design, build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100