A random curiosity question about the gradle plugi...
# apollo-kotlin
s
A random curiosity question about the gradle plugin 🧵
While migrating to v3.0 I see that when generating a schema.grapqls it correctly escapes quotation marks from comments that were formatted in a weird way which made the IDE freak out. We had a comment in the schema that looked like this:
Copy code
#    """
#    Some comment
#    """
Which was downloaded like this
Copy code
"""
"""
Some comment
"""
  """
Which broke the IDE. Now it correctly escapes it like this
Copy code
"""
  \"""
  Some comment
  \"""
  """
Out of pure curiosity, where is this change located in the gradle plugin, I’d like to read more about how this file in generated in general and I couldn’t find it in the github repo.
b
I think the essence (transforming the json schema to a GraphQL one) is here - which is called from the plugin around here. This makes use of the AST library 🙂
😍 1