-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
🐛 Source Shopify: fix customer journey summary
field schema type
#43326
🐛 Source Shopify: fix customer journey summary
field schema type
#43326
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
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.
Can you provide more context on these questions of mine?
...-integrations/connectors/source-shopify/source_shopify/schemas/customer_journey_summary.json
Outdated
Show resolved
Hide resolved
"description": "Paid search terms used by a marketing campaign.", | ||
"type": ["null", "string"] | ||
}, | ||
"customer_order_index": { |
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.
Does that mean that the customer_order_index
was not nested enough? Does that also mean that those fields are empty in the destination right now as we populate customer_journey_summary. customer_order_index
instead of customer_order_index
?
The same question applies to the other fields like first_visit
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.
It was not nested under the properties
- yes, but originally it was nested correctly under the customer_journey_summary
object, as expected.
I don't think so; no one has asked questions yet, we have had this for 2 months, and I assume the destination_v2
handles the Mapping
without type
declared correctly for us.
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.
Oh! I got confused by the indentation. So we assume here the if there are fields under a property that does not have properties
, than the platform use those fields as properties? Or does the platform ignore nested fields?
Like, on master we have this:
"customer_journey_summary": {
"ready": {
"description": "Whether the attributed sessions for the order have been created yet.",
"type": ["null", "boolean"]
},
Either the platform assume customer_journey_summary
to be an object and does not clean the nested fields in customer_journey_summary
or the platform just doesn't even consider the nested fields as customer_journey_summary
is an object. Does that make sense to you?
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.
So we assume here the if there are fields under a property that does not have properties, than the platform use those fields as properties? Or does the platform ignore nested fields?
This should be done by the destination v2
, which should treat the non-typed object as an object
that has something, thus it's pushed to the destination as an json-string
, I believe, instead of the serialized object
.
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.
Approving even with the pending question as we can assume that we would have had customer complaints if this was an issue
/approve-regression-tests
|
What
While running CAT, the missing
schema type
for thecustomer_journey_summary
field is missing it'sschema type
.It should be the
["null," "object"]
type declared.Shopify Doc
How
["null", "object"]
as atype
for thecustomer_journey_summary
field in theCustomer Journey Summary
streamUser Impact
No impact is expected, not a breaking change.
Can this PR be safely reverted and rolled back?