Skip to content

Conversation

@alecgibson
Copy link
Contributor

This change adds support for the optional, but recommended
invertWithDoc(op, doc) -> op' method.

json0 itself already inverts fine without the doc, just using the
invert() method, but this change adds support for subtypes, which only
implement invertWithDoc().

This change adds support for the [optional, but recommended][1]
`invertWithDoc(op, doc) -> op'` method.

`json0` itself already inverts fine without the doc, just using the
`invert()` method, but this change adds support for subtypes, which only
implement `invertWithDoc()`.

[1]: https://github.com/ottypes/docs#optional-properties
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