Revanth14 opened a new pull request, #2711:
URL: https://github.com/apache/iceberg-go/pull/2711
## Fix
- Each `MarshalJSON` comment now says the other methods keep pointer
receivers, so only the pointer type implements `Type`.
- `TestMetadataGettersReturnDefensiveCopies` changes the slice returned by
`IdentifierFieldIDs()` and checks the view's schema is unchanged.
- The release note's JSON sentence covers the list/map case.
## Testing
gofmt, `go vet ./...` (with and without `-tags integration`), `go test -race
./...` and golangci-lint v2.14.0 are clean. With both identifier-ID copies
removed (`IdentifierFieldIDs()` and `NewSchemaWithIdentifiers`), the new
assertion fails with `[]int{99}`.
## Context
Follow-up to #2655 (#2062).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]