feat(vue-colada)!: remove deep ref in input & context options #238
feat(vue-colada)!: remove deep ref in input & context options #238
Conversation
…tch with other options
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThis pull request refactors how input and context are handled in the vue‐colada package. Tests and procedure utilities now use direct numeric values and function wrappers instead of Vue’s reactive references. The utilities have been updated to use Vue’s Changes
Sequence Diagram(s)sequenceDiagram
participant T as Test
participant PU as ProcedureUtils
participant TV as toValue
participant CL as Client
T->>PU: Call queryOptions({ input, context, ... })
PU->>TV: Process input via toValue(input)
TV-->>PU: Return unwrapped input
PU->>TV: Process context via toValue(context)
TV-->>PU: Return unwrapped context
PU->>CL: Invoke client(unwrapped input, { context: unwrapped context })
CL-->>PU: Return result
PU-->>T: Send back response
Possibly related PRs
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 ESLint
ERR_PNPM_OPTIONAL_DEPS_REQUIRE_PROD_DEPS Optional dependencies cannot be installed without production dependencies Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (10)
💤 Files with no reviewable changes (4)
🔇 Additional comments (9)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
More templates
@orpc/client
@orpc/contract
@orpc/openapi
@orpc/openapi-client
@orpc/react-query
@orpc/shared
@orpc/server
@orpc/solid-query
@orpc/standard-server
@orpc/standard-server-fetch
@orpc/standard-server-node
@orpc/svelte-query
@orpc/vue-colada
@orpc/vue-query
@orpc/zod
commit: |
to match with other options
Summary by CodeRabbit
Refactor
Tests