Skip to content

Project structure contains field with wrong type #70

Description

@zaibon

Describe the bug

Some field of the Project struct have changed type on deps.dev service and are not updated in this library.
Fields are:

  • OpenIssuesCount
  • StarsCount
  • ForksCount

They all should be integer instead of string.

To Reproduce
Steps to reproduce the behavior:

  1. Check response from API call of getProject endpoint:

Expected behavior
This library should update the type of the field to string so it can properly decode the json sent by deps.dev API.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggolang

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions