orisai / object-mapper

Raw data mapping to validated objects
Mozilla Public License 2.0
10 stars 1 forks source link

Better support for pseudo-types #11

Closed mabar closed 1 year ago

mabar commented 3 years ago

It may be useful to support pseudo-tpyes like numeric-string, so constructions like string&&int<acceptNumericString> are not needed.

e.g. IntRule can replace castNumericString=true/false option with numericString=require/optionally/never.

TODO - list all rules which should be modified

Reasoning: https://github.com/orisai/object-mapper/issues/10#issuecomment-888481041

mabar commented 1 year ago

Nah, better solve it by rules like BigIntRule with brick/math under the hood

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.