Commit 2d07e03
authored
Remove
It's overly restrictive. While passing a query fragment directly is
equivalent to `SQLQueryExpression(fragment)`, it doesn't seem worth a
hard error.
Alternately we could make it a warning with a fix-it that swaps `#sql`
for `SQLQueryExpression`, but not sure it's worth the distinction?#sql literal requirement (#122)1 parent f69749f commit 2d07e03
File tree
3 files changed
+5
-12
lines changed- Sources
- StructuredQueriesCore
- StructuredQueriesMacros
3 files changed
+5
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | 198 | | |
210 | 199 | | |
211 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
| 573 | + | |
573 | 574 | | |
574 | 575 | | |
575 | 576 | | |
| |||
1038 | 1039 | | |
1039 | 1040 | | |
1040 | 1041 | | |
1041 | | - | |
| 1042 | + | |
1042 | 1043 | | |
1043 | 1044 | | |
1044 | 1045 | | |
| |||
0 commit comments