Closing toplevel value #3465
Unanswered
istvan-andrasi
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I wanted to only allow fields matching a regex at the toplevel, and I tried this:
I expected it to fail, but it works:
A assumed (and verified) it is because:
Although I found a workaround:
I wanted to bring up if it would be sensible to treat closed toplevel struct references differently:
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions