Skip to content

Updated gradle, added metadata to base error object #3

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

Merged
merged 2 commits into from
Jun 29, 2020

Conversation

pravee-n
Copy link
Contributor

No description provided.

Copy link
Contributor

@maniparas maniparas left a comment

Choose a reason for hiding this comment

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

update version in readme from 1.0.4 to 1.0.5

@pravee-n pravee-n requested a review from maniparas June 29, 2020 12:16
@JsonField
var httpStatusCode: Int = 0

@JsonField(name = ["metadata"])
var metadata: MutableMap<String, @RawValue Any?>? = null
Copy link
Contributor

Choose a reason for hiding this comment

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

a key can have null values?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right now we only have one key inside metadata. Technically, values can be null. This is kept just in case.

Copy link
Contributor

Choose a reason for hiding this comment

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

We don't generally send a key at all if value is null from backend but since its generic lets keep it this way only.

Copy link
Contributor

@maniparas maniparas left a comment

Choose a reason for hiding this comment

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

LGTM

@maniparas maniparas merged commit 72c30f2 into ZoomCar:master Jun 29, 2020
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