Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`Unbound value string_of_yojson` error during build

Open
#1 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
ocaml

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.

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.

Dominant language
OCaml
Stars
9
Forks
4
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from marigold-dev/openapi-router

All issues in marigold-dev/openapi-router

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.