danger / kotlin

⚠️ Stop saying "you forgot to …" in code review
MIT License
490 stars 48 forks source link

MissingFieldException #277

Closed fdcibernie closed 4 months ago

fdcibernie commented 4 months ago

Dangerfile.df.kts /tmp/danger-dsl-ba8cd85d.json danger_out.json - pid 36 kotlinx.serialization.MissingFieldException: Fields [id, login, type, avatar_url] are required for type with serial name 'systems.danger.kotlin.models.github.GitHubUser', but they were missing

error danger run
Vacxe commented 4 months ago

Thanks for reporting, will take a look ASAP

fdcibernie commented 4 months ago

Hi @Vacxe Any update on this? thanks

Vacxe commented 4 months ago

@fdcibernie just in time when I work on it ;)

Vacxe commented 4 months ago

@fdcibernie 1.3.1 released

fdcibernie commented 4 months ago

@Vacxe I got this new error

Screenshot 2024-04-24 at 1 18 23 PM
Vacxe commented 4 months ago

@fdcibernie could you try to rerun it? I rebuild container with old version of Danger JS

Vacxe commented 4 months ago

@orta probably some issue with Danger JS

fdcibernie commented 4 months ago

@Vacxe the error perviously was appear.

kotlinx.serialization.MissingFieldException: Fields [id, login, type, avatar_url] are required for type with serial name 'systems.danger.kotlin.models.github.GitHubUser', but they were missing

Vacxe commented 4 months ago

@fdcibernie please re-run again. Serialization should be fixed now. Please let me know if everything is ok.

fdcibernie commented 4 months ago

@Vacxe kotlinx.serialization.MissingFieldException: Field 'avatar_url' is required for type with serial name 'systems.danger.kotlin.models.github.GitHubUser', but it was missing

Vacxe commented 4 months ago

@fdcibernie oh, I'm blinded. Don't know how I missed it. Will fix the release asap once back home. Sorry for the delay.

Vacxe commented 4 months ago

@fdcibernie done from mobile :) should work now please check

fdcibernie commented 4 months ago

Thanks @Vacxe issue resolved.

Vacxe commented 4 months ago

@fbartho please take a look on gitbeaker issue. Installed via npm in docker