Closed farazfazli closed 10 months ago
Thanks for taking a crack at this:
How would I get the pggen.arg() name here?
See https://github.com/jschaf/pggen/blob/main/ARCHITECTURE.md for the high-level overview of the compilation phases. I traced the specific steps for pggen.arg below.
I think all you need to do is add RawName to TemplatedParam initialized toquery.Inputs[i]
.
The tests will be upset until you run make update-acceptance-test
(which will cause a large diff since it updates all generated code)
@jschaf Changed to RawName, this is ready to be merged.
Nice! Can you update the acceptance tests to fix the check and then I'll merge.
make update-acceptance-test
I've gone ahead and updated the acceptance tests. Let's get this merged in and ship out a new release with these changes. Thank you @jschaf!
Resolves #89. Two questions:
pggen.arg()
name here?