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

Migrate from moshi to kotlinx serialization #141

Merged
merged 12 commits into from
Nov 22, 2020

Conversation

gianluz
Copy link
Member

@gianluz gianluz commented Nov 14, 2020

No description provided.

val repositoryId: Int,
val issues: Array<String>?
val repositoryId: Int,
val issues: Array<String>? = null
Copy link
Member

Choose a reason for hiding this comment

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

Given we can give a default value, can we remove the optionality and put an empty array in case is not present?
So the user has less things to worry about, this can be an empty array or an array of issues, currently can also be null.
We would remove a state with no changes for the user

Comment on lines 36 to 39
@SerialName("allow_collaboration")
val allowCollaboration: Boolean?,
@Json(name="allow_maintainer_to_push")
@SerialName("allow_maintainer_to_push")
val allowMaintainerToPush: Boolean?,
Copy link
Member

Choose a reason for hiding this comment

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

I suppose we could default those to false if not present and remove the optional

Copy link
Member

@f-meloni f-meloni left a comment

Choose a reason for hiding this comment

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

Do you know what is going on with the action?

@f-meloni f-meloni merged commit b3b9661 into master Nov 22, 2020
@f-meloni f-meloni deleted the migrate-from-moshi-to-kotlinx-serialization branch November 22, 2020 19: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.

None yet

2 participants