-
Notifications
You must be signed in to change notification settings - Fork 21
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
[AERIE-1906] Resolve SerializedValue
LGTM errors
#238
[AERIE-1906] Resolve SerializedValue
LGTM errors
#238
Conversation
merlin-sdk/src/main/java/gov/nasa/jpl/aerie/merlin/protocol/types/SerializedValue.java
Show resolved
Hide resolved
merlin-sdk/src/test/java/gov/nasa/jpl/aerie/merlin/protocol/types/SerializedValueTest.java
Outdated
Show resolved
Hide resolved
merlin-sdk/src/test/java/gov/nasa/jpl/aerie/merlin/protocol/types/SerializedValueTest.java
Outdated
Show resolved
Hide resolved
Sorry... GitHub notifications never actually tell me a PR is just a draft. 🤦♂️ |
No worries! All solid feedback :) Thanks |
e06334d
to
c3a15a1
Compare
c3a15a1
to
173be82
Compare
Opened this PR prematurely. Am investigating the |
173be82
to
480b9de
Compare
...-server/src/main/java/gov/nasa/jpl/aerie/scheduler/server/services/GraphQLMerlinService.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! (heh) Smart move refactoring SerializedValue
into an interface.
Should we create a separate ticket to capture the string escape work or were you planning on implementing that in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you.
Good point! I'll check in with Adrien on this, the preexisting |
Make `SerializedValue` an interface, eliminating the need for explicit `equals()`, `toString()`, and `hashCode()` implementations.
ce351ee
to
88d926a
Compare
- Capitalize endpoint method names from sveltejs/kit#5513 - Upgrade e2e Banananation from NASA-AMMOS/aerie#238
Why are we doing sanitization for GQL instead of using variables? That's one of the great value propositions of the GraphQL standard - built in sanitization. |
Sure! I'll change the wording of the ticket. |
I don't think my comment is scoped to this ticket as the string formatting predates this ticket. Specifically looking at lines like Lines 137 to 145 in 88d926a
|
Yup! But your point 100% still stands, we should use variables. https://jira.jpl.nasa.gov/browse/AERIE-1949 should address this. |
- Capitalize endpoint method names from sveltejs/kit#5513 - Upgrade e2e Banananation from NASA-AMMOS/aerie#238
- Capitalize endpoint method names from sveltejs/kit#5513 - Upgrade e2e Banananation from NASA-AMMOS/aerie#238
Description
From #220.
Resolves LGTM
SerializedValue
errors reported here.Verification
All tests passing.
Documentation
None.
Future work
Resolve LGTM warnings (see https://lgtm.com/projects/g/NASA-AMMOS/aerie/alerts/?mode=tree).