-
Notifications
You must be signed in to change notification settings - Fork 537
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
Clean up external-controller dependencies #7266
Conversation
"fluid-framework": "^0.47.0", | ||
"react": "^16.10.2", |
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.
was this example just not using react? 🤔🤔🤔🤔🤔
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.
Yeah I think there were just some leftovers from evolution or copies.
we kind of do want a generateUser() method that gives a human readable name (instead of a uuid here). i'd guess it might be useful for a 3rd party developer in some test scenarios as well, so i do think it's worth refactoring |
Yeah I can see that -- my thoughts here were basically:
In the meantime this retains the same functionality as currently implemented and drops the dependency. |
Starting to look into the dependencies beyond
fluid-framework
that an author needs to pull in, and saw some opportunity to trim onexternal-controller
.Most importantly I think app authors should have no server dependencies -- if
generateUser()
is actually a util that the app author wants, it should probably come from the corresponding client package (e.g.generateAzureUser()
). SincegenerateUser()
is not really recommendable (abusing theIUser
interface) I just ditched it here.