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

Fix type name handling #124

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jeff-summer
Copy link

aurora serverless with postgresql returns typeName as lowercase. because of this, the function formatRecordValue does not function properly for pg responses.

to fix, I cast the typeName to uppercase at the start of the function, storing it in a new const standardizedTypeName.
added a test case to cover this issue.

Linking to pull #117

@jeff-summer jeff-summer changed the base branch from main to aws-sdk-v3-migration August 10, 2022 18:52
@jeff-summer jeff-summer changed the base branch from aws-sdk-v3-migration to main August 10, 2022 18:57
@jeff-summer jeff-summer marked this pull request as ready for review August 10, 2022 18:57
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.

1 participant