FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat!: do not export queries by eEQK · Pull Request #49 · sqlc-dev/sqlc-gen-typescript · GitHub

feat!: do not export queries - #49

Open
eEQK wants to merge 1 commit into
sqlc-dev:mainfrom
eEQK:hide-query-export
Open

feat!: do not export queries#49
eEQK wants to merge 1 commit into
sqlc-dev:mainfrom
eEQK:hide-query-export

Conversation

eEQK commented Dec 21, 2024
edited
Loading

Copy link
Copy Markdown

BREAKING!
hide query exports so they don't clutter LSP

BREAKING CHANGE: queries themselves are not meant to be used outside of generated files

Copy link
Copy Markdown

I actually use those exported sql queries to extract what tables names are used and to auto reload my app's store so actually current behavior is useful and I don't find that it clutters LSP since all those string SQL exports have "Query" appended to them like listAccounts and listAccountsQuery so is easily distinguishable.

This file contains hidden or 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
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


Back | FazBrowse Home | New Git URL