Skip to content

Conversation

sourabh1007
Copy link
Contributor

@sourabh1007 sourabh1007 commented Jul 25, 2024

Why make this change?

It addresses #2284 bug raised by the customer.

Note: Made change insrc/Core/Resolvers/SqlMutationEngine.cs just for consistency.

What is this change?

Made sure datatype conversion is CultureInfo.InvariantCulture

How was this tested?

  • Integration Tests
  • Unit Tests

Sample Request(s)

  • Example REST and/or GraphQL request to demonstrate modifications
  • Example of CLI usage to demonstrate modifications

@sourabh1007 sourabh1007 enabled auto-merge (squash) July 25, 2024 10:58
@sourabh1007
Copy link
Contributor Author

/azp run

@seantleonard
Copy link
Contributor

please explain why this works, what's the behavior before/after.

@sourabh1007
Copy link
Contributor Author

sourabh1007 commented Jul 25, 2024

please explain why this works, what's the behavior before/after.

It is just for the sake of description, or it is a question, because changes are not clear enough? I have test cases added for this, you can refer that, that test case will fail, if you run it with main branch.
To know the "before" and "after" behavior, you can check the mentioned issue.

@sourabh1007
Copy link
Contributor Author

/azp run

@sourabh1007 sourabh1007 force-pushed the users/sourabhjain/culturalbug branch from d18bffc to 34ba19c Compare July 25, 2024 16:08
@sourabh1007
Copy link
Contributor Author

/azp run

@sourabh1007
Copy link
Contributor Author

/azp run

@sourabh1007 sourabh1007 merged commit 4103e78 into main Jul 31, 2024
@sourabh1007 sourabh1007 deleted the users/sourabhjain/culturalbug branch July 31, 2024 22:33
seantleonard pushed a commit that referenced this pull request Aug 5, 2024
## Why make this change?

It addresses #2284 bug
raised by the customer.

## What is this change?
Made sure datatype conversion is `CultureInfo.InvariantCulture`

## How was this tested?

- [ ] Integration Tests
- [ ] Unit Tests

## Sample Request(s)

- Example REST and/or GraphQL request to demonstrate modifications
- Example of CLI usage to demonstrate modifications
seantleonard added a commit that referenced this pull request Aug 8, 2024
…mutation (#2316)

## Port Metadata
- porting from `main` to `release/1.2`
  - Issue: #2284 
  - PR: #2307

## Why make this change?

It addresses #2284 bug
raised by the customer.

~~**Note:** Made change in`src/Core/Resolvers/SqlMutationEngine.cs` just
for consistency.~~ [SL: this was in original PR, but is not accurate,
since no changes to SqlMutationEngine.cs are included

## What is this change?
Made sure datatype conversion is `CultureInfo.InvariantCulture`

Co-authored-by: Sourabh Jain <sourabhjain@microsoft.com>
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.

3 participants