Skip to content
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

feat: Adds client features endpoint #3

Merged
merged 1 commit into from
Jan 20, 2023
Merged

Conversation

chriswk
Copy link
Member

@chriswk chriswk commented Jan 20, 2023

This is worth a comment, since the way it was solved depends on which mode you're executing edge in. Currently edge only supports one mode, so we could've just explicitly passed in the provider for getting features.

However, we are aware that we want at least two more providers for features, so this lays the ground work for implementing more modes and providers, but still using the same actix handler for the /api/client/features endpoint.

Co-authored-by: Simon Hornby liquidwicked64@gmail.com

This is worth a comment, since the way it was solved depends on which
mode you're executing edge in. Currently edge only supports one mode, so
we could've just explicitly passed in the provider for getting features.

However, we are aware that we want at least two more providers for
features, so this lays the ground work for implementing more modes and
providers, but still using the same actix handler for the
`/api/client/features` endpoint.

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
Copy link
Member

@sighphyre sighphyre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chriswk chriswk merged commit 4bf25a3 into main Jan 20, 2023
@chriswk chriswk deleted the feat/dynamicTraitData branch January 20, 2023 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants