Skip to content

Generate possibleTypes.json without running the backend - #234

Merged
isakstenstrom merged 1 commit into
buildbarn:mainfrom
meroton:generate-possible-types
May 4, 2026
Merged

Generate possibleTypes.json without running the backend#234
isakstenstrom merged 1 commit into
buildbarn:mainfrom
meroton:generate-possible-types

Conversation

@isakstenstrom

Copy link
Copy Markdown
Collaborator

NOTE: This is a stacked PR. Please merge #226, #227, #228, #229, #230, #231, #232, #233 first.

Instead of extraction all possible API types from the API, we instead use the Graphql schema files. This makes it possible to do it without having the backend running, allowing us to run it in the normal frontend generation step, and thus in CI.

Previously it was almost always outdated, but now it will be kept in sync.

@isakstenstrom
isakstenstrom marked this pull request as draft April 22, 2026 06:17
@isakstenstrom
isakstenstrom force-pushed the generate-possible-types branch from fa08cdc to f9409ae Compare April 29, 2026 06:29
@isakstenstrom
isakstenstrom marked this pull request as ready for review April 29, 2026 14:19
This makes it easier to run it in CI.
@isakstenstrom
isakstenstrom force-pushed the generate-possible-types branch from f9409ae to 93e27e6 Compare May 4, 2026 11:55
@isakstenstrom
isakstenstrom merged commit a211424 into buildbarn:main May 4, 2026
5 checks passed
@isakstenstrom
isakstenstrom deleted the generate-possible-types branch May 4, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants