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

JsonType: add in() validator #2581

Closed
Naktibalda opened this Issue Nov 25, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@Naktibalda
Member

Naktibalda commented Nov 25, 2015

I tried this:
periodType => "string:=DAY|string:=WEEK" it worked when value was 'WEEK', but it failed when the function started returning DAY.

Possible solutions:
a) allow multiple declarations of the same type,
b) implement in validator,
c) start from scratch 😛.

@DavertMik

This comment has been minimized.

Show comment
Hide comment
@DavertMik

DavertMik Nov 26, 2015

Member

a) it is allowed, but can be buggy =) Let me investigate why it doesn't work for you
b) nice idea
c) please do, I don't mind :)

Member

DavertMik commented Nov 26, 2015

a) it is allowed, but can be buggy =) Let me investigate why it doesn't work for you
b) nice idea
c) please do, I don't mind :)

@DavertMik DavertMik closed this in cbdf352 Nov 26, 2015

@DavertMik

This comment has been minimized.

Show comment
Hide comment
@DavertMik

DavertMik Nov 26, 2015

Member

a) is fixed

b+c is up to you )

Member

DavertMik commented Nov 26, 2015

a) is fixed

b+c is up to you )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment