Add debugDescription api for Apollo generated types #3374
Labels
feature
New addition or enhancement to existing solutions
planned-next
Slated to be included in the next release
Use case
Given any schema, the code generated by Apollo allows for elegant use of those strong types within Swift code. When debugging though, it's another story. Currently, developers are forced to
po
individual value type fields and cannot print top level objects to the debug console.Here if you
po
on a book's summary, you get a DataDictDevelopers are forced to print out values for value types only.
Describe the solution you'd like
Feature request here is to add a
debugDescription
to any code generated type from provided schema to allow for debugging capabilities.The text was updated successfully, but these errors were encountered: