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
This issue is about step 3):
Automate generation of types (e.g. on prepush Git hook or similar). This way if changes in API breaks frontend, frontend build will automatically fail preventing us from introducing the bug
Acceptance criteria
anytime Python models are changed, API-related TypeScript types are regenerated and saved in grafana-plugin directory
Outcome
better type-safety in code
being able to catch type errors during development before they reach prod (shift left)
better developer experience thanks to increased number of type declarations and improved intellisense
The text was updated successfully, but these errors were encountered:
brojd
changed the title
Improve type-safety: Automate generation of API-related TypeScript types
Improve type-safety: automate generation of API-related TypeScript types
Nov 13, 2023
Problem
Problem and context are described in #3330 .
This issue is about step 3):
Automate generation of types (e.g. on prepush Git hook or similar). This way if changes in API breaks frontend, frontend build will automatically fail preventing us from introducing the bug
Acceptance criteria
grafana-plugin
directoryOutcome
The text was updated successfully, but these errors were encountered: