-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Audit examples/darwin-framework-tool/templates/tests/partials/checks/maybeCheckExpectedConstraints.zapt #19151
Comments
I have also noticed something that looks broken for string handling when I moved the code at examples/darwin-framework-tool/templates/tests/partials/checks/maybeCheckExpectedConstraints.zapt It is unclear to me what |
asTypedLiteral is broken for strings, but it's broken in the same way for chip-tool, fwiw... |
Should this have a check for optionality and being missing if optional? I think it should...
As in, we should not have "is actual value nil" checks scattered about with specific constraints. For example, for an optional thing a minLength constraint should pass if not present, but the code below will treat the actual length as 0, I think...
I guess this just got moved; can you please file a followup to fix this up?
Originally posted by @bzbarsky-apple in #19042 (comment)
The text was updated successfully, but these errors were encountered: