Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
|
Hey @Newbie012—noticed that your recent roadmap post didn't mention fragments support. Did you run into a blocker when implementing this? Being able to compose SQL from multiple fragments would be incredibly useful in DRYing up code. Curious if you had any thoughts on the feature in general. Would you be opposed to an outside contribution adding support for fragments? Thanks! |
|
Hi @sds, When I first drafted this PR, I realized it would be too difficult to support sql fragments while still keeping SafeQL library-agnostic (since each library has its own implementation, and I didn't want to force any convention). Although I haven’t explicitly mentioned SQL fragments in the roadmap, I plan to address them using [custom presets](https://safeql.dev/blog/safeql-v4-roadmap.html#example-3-custom-library-presets). These presets will provide the low-level control needed to support SQL fragments while still allowing SafeQL’s core to remain library-agnostic and pluggable. |
|
Thanks for the response! Looking forward to v4 when it's ready—thanks for all your work on SafeQL. |
No description provided.