Skip to content
This repository has been archived by the owner on Dec 2, 2018. It is now read-only.

Add options for getUserDisplayName #6

Open
3 tasks
brawaru opened this issue Oct 4, 2018 · 1 comment
Open
3 tasks

Add options for getUserDisplayName #6

brawaru opened this issue Oct 4, 2018 · 1 comment

Comments

@brawaru
Copy link
Member

brawaru commented Oct 4, 2018

Add options to getUserDisplayName function instead of bunch of arguments:

  • includeTagtag (boolean?)
  • includeAtat (boolean?)
  • id (boolean?)

Or maybe replace with argument include which is Array of DisplayOption:

type DisplayOption = "tag" | "at" | "id";

First variant is more performant though.

@brawaru brawaru self-assigned this Oct 4, 2018
@brawaru
Copy link
Member Author

brawaru commented Oct 4, 2018

ID will require to provide language code then, as it may differ per languages?
So it will better to stick with the first variant.

  • language (boolean?)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant