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 entity jq parsing #54

Merged
merged 5 commits into from
Aug 8, 2023
Merged

Fix entity jq parsing #54

merged 5 commits into from
Aug 8, 2023

Conversation

yairsimantov20
Copy link
Collaborator

Description

What - If the identifier was not found in the jq it would set a "None" as the identifier which is invalid because we dont want to create the wrong entity
Why - The fields went through a parsing that made them string if they are not
How - Changed the typing and remove the parsing

Type of change

Please leave one option from the following and delete the rest:

  • Bug fix (non-breaking change which fixes an issue)

Copy link
Member

@MPTG94 MPTG94 left a comment

Choose a reason for hiding this comment

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

LGTM, please note my commetns

port_ocean/core/models.py Show resolved Hide resolved
changelog/bugfix.md Outdated Show resolved Hide resolved
@yairsimantov20 yairsimantov20 merged commit bf0c21b into main Aug 8, 2023
1 check passed
@yairsimantov20 yairsimantov20 deleted the fix-entity-jq-parsing branch August 8, 2023 14:18
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