Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
theedov opened this issue Jul 31, 2024 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@theedov
Copy link

theedov commented Jul 31, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Development

No branches or pull requests

2 participants