microsoftgraph / microsoftgraph/msgraph-sdk-go-core

Improve type validation for PageIterator

Open
#267 11 comments 1 reaction 1 assignee View on GitHub

@rkodev is already working on this.

Since Feb 14, 2024.

enhancement
Dominant language
Go
Stars
22
Forks
16
Avg merge
7h 53m
Merged PRs (30d)
1

Description

PageIterator does not provide type validation on the constructor function and this is resulting to runtime errors that arenot easy to debug for users. e.g

  1. https://github.com/microsoftgraph/msgraph-beta-sdk-go/issues/380
  2. https://github.com/microsoftgraph/msgraph-sdk-go/issues/558

We need to provide possible solutions for the type validation of the parameters in the constructor function

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.