Skip to content

Fix #101: add missing attribute for department, make required#102

Merged
ypasmk merged 1 commit into
personio:masterfrom
mdbenito:fix/department-type
Mar 7, 2022
Merged

Fix #101: add missing attribute for department, make required#102
ypasmk merged 1 commit into
personio:masterfrom
mdbenito:fix/department-type

Conversation

@mdbenito

@mdbenito mdbenito commented Feb 26, 2022

Copy link
Copy Markdown
Contributor

This PR adds the missing id field to the attributes of Department and makes both id and name required to enable better typing in generated code. Since Departments are only returned by the API this shouldn't break any dependent code.

Closes #101

@mdbenito

mdbenito commented Mar 5, 2022

Copy link
Copy Markdown
Contributor Author

@oleglfed Thanks for reviewing! Maybe you have time to check out #103 as well?

@ypasmk
ypasmk merged commit 70d05bd into personio:master Mar 7, 2022
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.

Mismatch between documented type for Department and returned data

3 participants