Skip to content
New issue

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

Customize codecs #176

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Customize codecs #176

wants to merge 2 commits into from

Conversation

kokovtsev
Copy link
Contributor

This PR adds the ability to customize codecs for some primitive types. For example, this change was requested for this use-case: using Decimal.js instead of regular numbers to support arbitrary precision in requests and responses

This change allows users to provide custom codec serialization function. An example of use case is to
replace `Int` and `number` codecs generated by default by `Decimal` to avoid precision loss in numbers
@reviewpad reviewpad bot added the large Pull request is large label May 22, 2023
@reviewpad
Copy link
Contributor

reviewpad bot commented May 22, 2023

Reviewpad Report

⚠️ Warnings

  • Please link an issue to the pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
large Pull request is large
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant