You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is OK if ugly, but ideally I would prefer to write everything in the string — especially since there is nothing dynamic going on to warrant a lambda.
Ideally the same would be possible for non-empty arrays and objects as well, but I can live without that — the use cases are much rarer.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I often want to write:
But Arktype doesn't let me do that without using a longhand syntax with a lambda:
It is OK if ugly, but ideally I would prefer to write everything in the string — especially since there is nothing dynamic going on to warrant a lambda.
Ideally the same would be possible for non-empty arrays and objects as well, but I can live without that — the use cases are much rarer.
Am I missing something here?
Beta Was this translation helpful? Give feedback.
All reactions