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
Select a Tracking Plan with event names with a colon as the first special character e.g. something:something_something or something:something_something_something
Summary should look like the following
Configuration Summary:
Name Value
────────────── ─────────────
Tracking Plans Something
Paths src/analytics
Language TypeScript
SDK analytics-js
Run update npx typewriter --update
Expectation vs. Reality
Expected:
The generated library
Reality
Received the following error
Generating files... Error!
Error: Cannot infer name for schema something:something_something
Additional
If the colon is the second special character it works fine
Issue only appears if the colon is the first special character
The text was updated successfully, but these errors were encountered:
Looking further into this the issue appears to be related to quicktype and how it is interpretting the event name, it looks like it is seeing everything before the colon as a protocol, this seems to be a similar issue here - glideapps/quicktype#1113
Environment
Steps
npx typewriter init
something:something_something
orsomething:something_something_something
Configuration Summary:
npx typewriter --update
Expectation vs. Reality
Expected:
The generated library
Reality
Received the following error
Additional
The text was updated successfully, but these errors were encountered: