© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Should Query Output Schema Be Tied to the Query or the Executor? - Effect Community
EC
Effect Community
•
2y ago
•
14 replies
Kristian Notari
Should Query Output Schema Be Tied to the Query or the Executor?
From what I
've understood a query
/statement is just a
"string
" and then you either use a resolver which asks for schema or you use an executor like
findAll
findAll
/
findOne
findOne
which asks for schema aswell
.
Isn
't
(at least
) the output schema something which should be strictly tied to what the query is
, instead of who
's running it
?
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Providing DB Schema to `@effect/sql-drizzle` for Query API Usage
EC
Effect Community / sql
16mo ago
Update to New Schema Syntax: Create a PR or Await?
EC
Effect Community / sql
3y ago
Type error with `sql.insert` due to `Schema.Array(Schema.String)` field in schema
EC
Effect Community / sql
2y ago
Schema.rename not working with SqlResolver when mapping properties in SQL query
EC
Effect Community / sql
14mo ago