Skip to content

[Content]: Alias doc #4829

@matthew-dean

Description

@matthew-dean

What article on segment.com/docs is affected?

https://segment.com/docs/connections/spec/alias/

What part(s) of the article would you like to see updated?

The alias page doesn't make it clear at all which order the function arguments come in. It maybe sorta implies that it's alias(previousId, newId) is the order of arguments, but it isn't demonstrated in an example.

Furthermore, in the TypeScript types, it labels the first argument as to and the second argument as from but what the heck does that mean? I would assume that from is previousId implying that the order of arguments is alias(newId, previousId), but which is it? Can you not just label the arguments previousId / newId in an example? Or does the order of arguments not matter?

Additional information

No response

Metadata

Metadata

Assignees

Labels

contentWhen the bug is about content that needs to get fixedtriaged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions