Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Incorrect type spec of basic_rule() #55

Open
amarBitMan opened this issue Jan 12, 2023 · 0 comments
Open

Incorrect type spec of basic_rule() #55

amarBitMan opened this issue Jan 12, 2023 · 0 comments

Comments

@amarBitMan
Copy link

amarBitMan commented Jan 12, 2023

It gives the following error on the example given on Usage section:

The call ejson:to_json(P::[#person{name::[any(),...],birth_year::1967,projects::[]},...], [{'project', {'string', "name"}, {'number', "budget"}, {'boolean', "isSuccessful"}}, {'person', {'string', "name"}, {'number', "yearOfBirth"}, {'list', "projects"}}], [])
breaks the contract (term(), rule(), [any()]) -> {'ok',jsx:jsx_term()} | {'error',term()}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant