Closed grabbou closed 1 month ago
hmm this is a bit tricky since we technically need to escape all keywords of Swift and C++.
Not sure if that's something codegen should do, as that just adds a lot of extra complexity
Yeah, I agree. My suggestion was that codegen could throw an error that this property name is not allowed, like it does for other issues already.
For the spec:
The following generated code:
is not correct, obviously haha. I will fix that myself, but perhaps Nitro could throw an error.