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

constrained field doesn't generate the right type doc #130

Open
nofun97 opened this issue Jul 7, 2020 · 0 comments
Open

constrained field doesn't generate the right type doc #130

nofun97 opened this issue Jul 7, 2020 · 0 comments
Labels
bug Something isn't working enhancement New feature or request P0

Comments

@nofun97
Copy link
Member

nofun97 commented Jul 7, 2020

Constrained adds length constraints to field or it can act as decimal precision. However, the information about constraints aren't included in the generated type docs and field with array length constraint isn't generated in the diagram.

For example:

App:
    !type constrained:
        v(0..99) <: int
        w <: int(5..50)
        x <: string(10)
        y <: decimal(1.5)
        z(0..99) <: int(2..5)

Generated this doc:
image

@nofun97 nofun97 added bug Something isn't working enhancement New feature or request labels Jul 7, 2020
@ChloePlanet ChloePlanet added the P0 label Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request P0
Projects
None yet
Development

No branches or pull requests

2 participants