Skip to content

feat: replace thoas with Erlang/OTP json module#10

Closed
Taure wants to merge 3 commits intomasterfrom
feat/replace-thoas-with-otp-json
Closed

feat: replace thoas with Erlang/OTP json module#10
Taure wants to merge 3 commits intomasterfrom
feat/replace-thoas-with-otp-json

Conversation

@Taure
Copy link
Copy Markdown
Contributor

@Taure Taure commented Mar 11, 2026

Summary

  • Replace nova:get_env(json_lib, thoas) with direct json:encode/1 and json:decode/1 calls
  • Update Nova dependency to git master (which removed thoas)

Related: novaframework/nova#366

🤖 Generated with Claude Code

Taure and others added 2 commits March 11, 2026 22:00
Use json:encode/1 and json:decode/1 directly instead of the
configurable json_lib approach via nova:get_env. The json_lib
config option was removed from Nova.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update pre_request/post_request to 4-arity callbacks matching
the current nova_plugin behaviour. Update plugin_info to return
a map instead of a tuple.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Taure
Copy link
Copy Markdown
Contributor Author

Taure commented Mar 14, 2026

Closing — all changes are included in #11 (RFC 9457 error responses), which builds on top of this branch.

@Taure Taure closed this Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant