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: add ApiClient#getEvaluations #13

Merged
merged 7 commits into from
Feb 13, 2023

Conversation

yshrsmz
Copy link
Contributor

@yshrsmz yshrsmz commented Feb 12, 2023

No description provided.

@yshrsmz yshrsmz force-pushed the yshrsmz/get_evaluations branch from 284dc6d to e51b319 Compare February 12, 2023 07:18
@yshrsmz yshrsmz force-pushed the yshrsmz/get_evaluations branch from 9dce0f3 to e9350d6 Compare February 12, 2023 07:26
Comment on lines 2 to 8
UNKNOWN: 0,
ANDROID: 1,
IOS: 2,
WEB: 3,
GOAL_BATCH: 4,
GO_SERVER: 5,
NODE_SERVER: 6,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cre8ivejp Is it ok to assume that SourceID is still a number type?

Copy link
Member

Choose a reason for hiding this comment

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

@yshrsmz yshrsmz requested a review from cre8ivejp February 12, 2023 07:27
@yshrsmz yshrsmz force-pushed the yshrsmz/get_evaluations branch from e9350d6 to 0d6d52f Compare February 12, 2023 07:39
tag: this.featureTag,
user,
user_evaluations_id: userEvaluationsId,
source_id: SourceID.ANDROID
Copy link
Member

@cre8ivejp cre8ivejp Feb 13, 2023

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

const errorBody: ErrorResponse | null = await response.json()
const error = errorBody?.error

switch (response.status) {
Copy link
Member

@cre8ivejp cre8ivejp Feb 13, 2023

Choose a reason for hiding this comment

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

The server errors have changed a little. Also, the latency and size metrics have changed.
bucketeer-io/android-client-sdk#56

Let me know if you prefer to do this in another PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

got it. updated in 801b304 (#13)

@yshrsmz yshrsmz requested a review from cre8ivejp February 13, 2023 11:08
Copy link
Member

@cre8ivejp cre8ivejp left a comment

Choose a reason for hiding this comment

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

Thank you!!

@yshrsmz yshrsmz merged commit ae7c289 into bucketeer-io:main Feb 13, 2023
@yshrsmz yshrsmz deleted the yshrsmz/get_evaluations branch February 16, 2023 04:26
This was referenced Jun 7, 2024
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