-
-
Notifications
You must be signed in to change notification settings - Fork 242
refactor(pinia-colada): migrate queries to defineQueryOptions
#2610
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
Open
brolnickij
wants to merge
53
commits into
hey-api:main
Choose a base branch
from
brolnickij:refactor/2597
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
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
Changes from 21 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
8fa3233
refactor(pinia-colada): migrate queries to `defineQueryOptions`
brolnickij 33e6b31
chore: init changeset
brolnickij f72aa76
chore(pinia-colada): rename variable for clarity
brolnickij d7f27ce
chore(pinia-colada): tighten `QueryKey` typing with `_JSONValue`
brolnickij 953e498
feat(ir): implement `hasOperationPathOrQueryAny` function
brolnickij 84218ff
refactor(pinia-colada): use `path` / `query` detection in queryOptions
brolnickij 6ad7066
test(pinia-colada): update snapshots
brolnickij 8f48148
refactor(pinia-colada): remove unused `types` in the generator
brolnickij 2ca4e62
chore(pinia-colada): update snapshots
brolnickij 13e54d2
refactor(pinia-colada): always use functional `defineQueryOptions` fo…
brolnickij 0a1c358
test(pinia-colada): update snapshots
brolnickij 991a5f4
Revert "test(pinia-colada): update snapshots"
brolnickij 72e5ce2
Revert "refactor(pinia-colada): always use functional `defineQueryOpt…
brolnickij d8e58a3
docs(pinia-colada): init updated examples
brolnickij 081cd06
Merge remote-tracking branch 'origin/main' into refactor/2597
brolnickij bccdcd5
test(pinia-colada): update snapshots
brolnickij 0584fa3
fix(pinia-colada): streamline `queryKey` creation
brolnickij 42c83b9
chore: bump
brolnickij 0884429
fix(pinia-colada): fix more bugs
brolnickij 34a043e
test(pinia-colada): update snapshots
brolnickij 27b0cf0
test(pinia-colada): remove group-by-tag snapshots
brolnickij 5ab37e3
Merge branch 'main' into refactor/2597
brolnickij 3ff9411
docs(pinia-colada): fix typo
brolnickij e80fb62
Merge branch 'main' into refactor/2597
brolnickij 9979c07
chore(ir): remove unused `hasOperationPathOrQueryAny`
brolnickij 34dfca2
refactor(pinia-colada): simplify options handling
brolnickij e28d16f
test(pinia-colada): update snapshots
brolnickij 9f7ef36
chore(pinia-colada): update example dependencies
brolnickij 448da2b
chore(pinia-colada): regenerate client
brolnickij 99a14bb
chore(pinia-colada): refactoring example
brolnickij fc74f17
chore(pinia-colada): clean up query key generation (remove body / hea…
brolnickij 13cdd90
fix(pinia-colada): restore query context propagation
brolnickij e5faf78
chore(pinia-colada): bump snapshots
brolnickij 7eabf67
fix(pinia-colada): do not export query key when `queryKeys` disabled
brolnickij 3351637
chore(pinia-colada): simplify example
brolnickij 87d5004
Merge branch 'main' into refactor/2597
brolnickij a4acb37
Merge branch 'main' into refactor/2597
brolnickij 5464511
Merge branch 'main' into refactor/2597
brolnickij c262357
Merge branch 'main' into refactor/2597
brolnickij 602083f
Merge branch 'main' into refactor/2597
brolnickij 45cd53d
chore(pinia-colada): remove unused `ensureQueryKeyInfra`
brolnickij 2065c38
docs: init @brolnickij in collaboration sections
brolnickij f910945
feat(tsc): add support for `!==` operator in `createBinaryExpression`
brolnickij 75ccd98
feat(core): add JSON serialization utilities for query keys
brolnickij 4c040db
feat(pinia-colada): init`serializeQueryKeyValue`
brolnickij d1fb84b
test: update snapshots
brolnickij 882c7a9
chore: update example codegen
brolnickij 9a732ae
Merge branch 'main' into refactor/2597
brolnickij d47c2c7
test: align `v3_no_index` snapshots with "NodeNext"
brolnickij 3570351
test: correct path in `tsconfig.nodenext.json` to extend base configu…
brolnickij 34a7d25
test: pass `module: NodeNext` option
brolnickij c3cefc8
test: bump snapshot
brolnickij c0ca1c9
Merge branch 'main' into refactor/2597
brolnickij File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@hey-api/openapi-ts": patch | ||
--- | ||
|
||
refactor(pinia-colada): migrate queries to `defineQueryOptions` |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.