Skip to content

v4: CertificatePacks List and Get return empty interface type #4084

@cltnschlosser

Description

@cltnschlosser

Confirm this is a Go library issue and not an underlying Cloudflare API issue

  • This is an issue with the Go library

Describe the bug

page, err := client.SSL.CertificatePacks.List(ctx, ssl.CertificatePackListParams{
	ZoneID: cloudflare.F(zone),
})
page.Result // []interface{}

This result isn't useful because all the fields are missing. This is also the case with SSL.CertificatePacks.Get, but not with some of the other SSL.CertificatePacks apis.

To Reproduce

Use SSL.CertificatePacks.List or SSL.CertificatePacks.Get

Code snippets

OS

macOS

Go version

1.22.2

Library version

github.com/cloudflare/cloudflare-go/v4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions