You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.
heya! tcomb seems really awesome, as i share a passion for domain-driven development, and this seems like a great library for bridging tcomb with json-schema, nice work! 😸 i'm interested in the possibility of using tcomb with my project's domain models described in json-schema.
first up, tcomb-json-schema doesn't support anyOf, allOf, oneOf, not logical primitives. i reckon we can implement this using fcomb?
The text was updated successfully, but these errors were encountered:
You can use this instead of oneOf: t.irreducible('x', x => ['confirmed', 'pending', 'failed', {}, ['something', {else: 123}]].some(y => _.isEqual(x, y))),
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
heya!
tcomb
seems really awesome, as i share a passion for domain-driven development, and this seems like a great library for bridgingtcomb
withjson-schema
, nice work! 😸 i'm interested in the possibility of usingtcomb
with my project's domain models described in json-schema.first up,
tcomb-json-schema
doesn't supportanyOf
,allOf
,oneOf
,not
logical primitives. i reckon we can implement this using fcomb?The text was updated successfully, but these errors were encountered: