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
By default, we will sanitize illegal names so the output doesn't throw. For example, a schema with the name "400" gets generated as const _400 = 400. I noticed that using "name builders" unnecessarily preserves the sanitized name. For example, the pattern z{{name}} would generate const z_400 = 400. This is no longer needed since the original name would've been legal, i.e. const z400 = 400. Need to investigate how widespread this issue is before deciding how to address it.
The text was updated successfully, but these errors were encountered:
By default, we will sanitize illegal names so the output doesn't throw. For example, a schema with the name "400" gets generated as
const _400 = 400
. I noticed that using "name builders" unnecessarily preserves the sanitized name. For example, the patternz{{name}}
would generateconst z_400 = 400
. This is no longer needed since the original name would've been legal, i.e.const z400 = 400
. Need to investigate how widespread this issue is before deciding how to address it.The text was updated successfully, but these errors were encountered: