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
feat(typegen): Go Type Gen #687
Open
isaacharrisholt
wants to merge
11
commits into
supabase:master
Choose a base branch
from
isaacharrisholt:feat/go_typegen_types
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat(typegen): Go Type Gen #687
isaacharrisholt
wants to merge
11
commits into
supabase:master
from
isaacharrisholt:feat/go_typegen_types
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isaacharrisholt
changed the title
DRAFT: feat(typegen): Go Type Gen
feat(typegen): Go Type Gen
Jan 11, 2024
Going to mark this as draft for now - I've decided it might be better to separate out the Select, Insert and Update models (as in JS) and make use of the |
isaacharrisholt
force-pushed
the
feat/go_typegen_types
branch
from
March 21, 2024 09:44
c652162
to
936a6d7
Compare
I've now done the above, so this should be ready to go |
isaacharrisholt
force-pushed
the
feat/go_typegen_types
branch
from
May 18, 2024 12:31
db43f73
to
f10acb5
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
Feature
What is the current behaviour?
No Go types
What is the new behaviour?
This PR adds type generation for Go based on the proposal in this discussion.
There's also some cleanup in
server.ts
for local development, which a) crosses off aTODO
comment and b) makes it simpler to extend with new type generators later.Additional context
This PR requires #685 to be merged first and currently contains the changes from that PR. If you're interested in the changes made by this one, I recommend looking at commits
b24e63d
onwards, which mostly touch these files:*/go.ts
server.ts
routes.ts
package.json
Still TODO:
Let me know your feedback or if you'd like any changes :)