You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
integrations.AF.af_uid and context.externalId.0.id, the former makes a lot more sense to me. The documentation makes it sounds as if this externalId type/id array is some sort of pseudo spec. Trying to overload EVERYTHING is a huge PITA and it becomes so unreadable i'm at the point where some values are included at three different key paths for a "pray and spray" to catch inclusion, depending on how the transformer implementer interprets intent through keypath extraction
constafId=message.integrations
? message.integrations.AF
? message.integrations.AF.af_uid
: undefined
: undefined;constappsflyerId=getDestinationExternalID(message,"appsflyerExternalId")||afId;if(!appsflyerId){thrownewError("Appsflyer id is not set. Rejecting the event");}
The text was updated successfully, but these errors were encountered:
What is the difference between
https://github.com/rudderlabs/rudderstack-docs/blame/master/destinations/appsflyer.md#L214
and
https://github.com/rudderlabs/rudder-transformer/blob/master/__tests__/data/af_input.json#L355
integrations.AF.af_uid
andcontext.externalId.0.id
, the former makes a lot more sense to me. The documentation makes it sounds as if this externalId type/id array is some sort of pseudo spec. Trying to overload EVERYTHING is a huge PITA and it becomes so unreadable i'm at the point where some values are included at three different key paths for a "pray and spray" to catch inclusion, depending on how the transformer implementer interprets intent through keypath extractionThe text was updated successfully, but these errors were encountered: