Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[⚙️ compiler] Fix a few additional instances of %L used instead of %N #6117

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

martinbonnin
Copy link
Contributor

See #6116

@martinbonnin martinbonnin requested a review from BoD as a code owner August 13, 2024 08:22
Copy link

netlify bot commented Aug 13, 2024

Deploy Preview for apollo-android-docs canceled.

Name Link
🔨 Latest commit 680569c
🔍 Latest deploy log https://app.netlify.com/sites/apollo-android-docs/deploys/66bb17b6a5b0010008ce71aa

add("%L·=·%L", propertyName, propertyName)
add("%N·=·%N", propertyName, propertyName)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are for data builders

Comment on lines -146 to 147
"%L·=·%L.$fromJson($reader, $customScalarAdapters)\n",
"%N·=·%L.$fromJson($reader, $customScalarAdapters)\n",
property.info.responseName.variableName(),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not really needed because we esacape with a '_' but feels more correct nonetheless

Copy link
Contributor

@BoD BoD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment on lines -128 to 131
"%T(%T.%L)",
"%T(%T.%N)",
KotlinSymbols.CompiledArgument,
context.resolver.resolveArgumentDefinition(definitionId),
definitionPropertyName,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, not really needed because there is already __ in front of definitionPropertyName but still feels more correct

@martinbonnin martinbonnin merged commit 47a7770 into main Aug 13, 2024
9 checks passed
@martinbonnin martinbonnin deleted the percent-n branch August 13, 2024 08:57
@martinbonnin martinbonnin added this to the 4.0.1 milestone Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants