Apollo iOS Client: Codegen Default values


I just found out after quiet some debugging that codegen doesnt take default values :slight_smile: and later found this any plan to fix this?

It would be of great help if you add this limitation in the doc(may be its already there, but I couldnt find it), it just took a lot of debugging time figuring out why my playground response and client response is different.


Hi Anoop :wave: - rewriting the codegen engine in Swift is our top priority as we work towards a 1.0 release. I’ll make sure we’ve got this as a requirement of the new codegen. Right now unfortunately the limitation still exists in the current codegen.


Thanks @calvincestari