Skip to content

'ProductQueryConfiguration' initializer is inaccessible due to 'internal' protection level #6

@theedov

Description

@theedov

What

I'm trying to fetch product details from barcode, but can't call .getProduct with config since config doesn't seem to be accessible.

I'm trying to use my own ProductPage.

Steps to reproduce the behavior:

try await OpenFoodAPIClient.shared.getProduct(config: ProductQueryConfiguration(barcode: barcode))

Platform (Desktop, Mobile, Hunger Games)

  • OS: iOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions