Skip to content

update products schema#33

Merged
KrisPersonal merged 1 commit into
singer-io:masterfrom
rjh336:fix/update-products-schema-20220615
Jun 25, 2022
Merged

update products schema#33
KrisPersonal merged 1 commit into
singer-io:masterfrom
rjh336:fix/update-products-schema-20220615

Conversation

@rjh336
Copy link
Copy Markdown
Contributor

@rjh336 rjh336 commented Jun 16, 2022

Description of change

Per Yotpo support RE /v1/apps/{app_key}/products endpoint:

our R&D team recently changed the endpoint and the category parameter are no longer supported/deprecated the reason why it shows as null. However, we cannot delete it as it may cause some backward compatibility issues, especially with the customer who still using it. If you are not using it in some cases, kindly disregard this part of the endpoint.

I made updates to category.name and category.id to accept null values

Manual QA steps

Risks

Rollback steps

  • revert this branch

@singer-bot
Copy link
Copy Markdown

Hi @rjh336, thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes.

@rjh336
Copy link
Copy Markdown
Contributor Author

rjh336 commented Jun 16, 2022

@KrisPersonal

@dbshah1212
Copy link
Copy Markdown
Contributor

dbshah1212 commented Jun 17, 2022

@KrisPersonal

@rjh336 Can you please sign a contribution license agreement for us to look further?

@rjh336
Copy link
Copy Markdown
Contributor Author

rjh336 commented Jun 17, 2022

@KrisPersonal

@rjh336 Can you please sign a contribution license agreement for us to look further?

@dbshah1212 when I click on the link and authorize I do not get redirected to a web form, nor do I receive and email to sign the CLA

@rjh336 I was able to see the form. Can you check whether there are any browser specific issue? I tried in Chrome

@rjh336
Copy link
Copy Markdown
Contributor Author

rjh336 commented Jun 17, 2022

@KrisPersonal I can sign the form hosted in the CLA heroku app but I do not get an email (not in spam too).

@toandm toandm mentioned this pull request Jun 23, 2022
@toandm
Copy link
Copy Markdown

toandm commented Jun 23, 2022

Hi guys, any new feedback here? I'm having the same issue, and this would help us get back to the right track here

@michael-urrutia
Copy link
Copy Markdown

Hi guys, any new feedback here? I'm having the same issue, and this would help us get back to the right track here

+1. @dbshah1212?

@toandm
Copy link
Copy Markdown

toandm commented Jun 25, 2022

@dbshah1212 please take a look at this, we really need it now. Our reports are not updating because of this

@dbshah1212
Copy link
Copy Markdown
Contributor

Yes we can merge this as changes looks good to me, @rjh336 can you please reissue the CLA?

@dbshah1212
Copy link
Copy Markdown
Contributor

@dbshah1212 please take a look at this, we really need it now. Our reports are not updating because of this

Yes I can, just waiting for CLA approval

@KrisPersonal
Copy link
Copy Markdown
Contributor

@rjh336 Please resubmit and CLA should get approved. https://stitch-cla-enforcer.herokuapp.com/

@singer-bot
Copy link
Copy Markdown

You did it @rjh336!

Thank you for signing the Singer Contribution License Agreement.

@rjh336
Copy link
Copy Markdown
Contributor Author

rjh336 commented Jun 25, 2022

@rjh336 Please resubmit and CLA should get approved. https://stitch-cla-enforcer.herokuapp.com/

done @KrisPersonal

@KrisPersonal KrisPersonal merged commit bdc2639 into singer-io:master Jun 25, 2022
@KrisPersonal
Copy link
Copy Markdown
Contributor

KrisPersonal commented Jun 25, 2022

@rjh336 @toandm @michael-urrutia Completed the merge of PR to master

@toandm
Copy link
Copy Markdown

toandm commented Jun 26, 2022

@rjh336 I don't know why but the same error is happening :( I'm using Yotpo connection on Stitch. Here is my error message:
Errors during transform: [category.name: data does not match {'type': 'string'}, category.id: data does not match {'type': 'number'}, category: data does not match {'selected': True, 'inclusion': 'available', 'properties': {'name': {'type': 'string'}, 'id': {'type': 'number'}}, 'type': 'object'}, : data does not match {'selected': True, 'inclusion': 'available', 'properties': {'url': {'selected': True, 'inclusion': 'available', 'type': 'string'}, 'external_product_id': {'selected': True, 'inclusion': 'available', 'type': 'string'}, 'category': {'selected': True, 'inclusion': 'available', 'properties': {'name': {'type': 'string'}, 'id': {'type': 'number'}}, 'type': 'object'}, 'average_score': {'selected': True, 'inclusion': 'available', 'type': 'number'}, 'product_specs': {'selected': True, 'inclusion': 'available', 'type': 'array', 'items': {'properties': {'key': {'type': 'string'}, 'value': {'type': 'string'}}, 'type': 'object'}}, 'updated_at': {'selected': True, 'inclusion': 'available', 'type': 'string', 'format': 'date-time'}, 'description': {'selected': True, 'inclusion': 'available', 'type': ['string', 'null']}, 'images': {'selected': True, 'inclusion': 'available', 'type': 'array', 'items': {'properties': {'facebook_square': {'type': 'string'}, 'original': {'type': 'string'}, 'kind': {'type': 'string'}, 'square': {'type': 'string'}, 'facebook': {'type': 'string'}}, 'type': 'object'}}, 'total_reviews': {'selected': True, 'inclusion': 'available', 'type': 'number'}, 'created_at': {'selected': True, 'inclusion': 'available', 'type': 'string', 'format': 'date-time'}, 'id': {'selected': True, 'inclusion': 'automatic', 'type': 'integer'}, 'name': {'selected': True, 'inclusion': 'available', 'type': 'string'}}, 'type': ['object'], 'additionalProperties': False}]

@rjh336
Copy link
Copy Markdown
Contributor Author

rjh336 commented Jun 26, 2022

Same @toandm

@KrisPersonal @dbshah1212 do either of you work for Stitch? Wondering if Stitch pinned their yotpo deployment to the last release of this tap and need to bump? Or my changes just did not resolve the issue?

@sgandhi1311 sgandhi1311 mentioned this pull request Jun 27, 2022
@toandm
Copy link
Copy Markdown

toandm commented Jun 28, 2022

nevermind it worked, thanks

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.

6 participants