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

Lookups at FilterConditionValue should produce the types for the descriptionFields #50

Open
marcusdemoura opened this issue Aug 8, 2024 · 0 comments

Comments

@marcusdemoura
Copy link
Contributor

Konecty API supports this filter for descriptionFields.

Screenshot 2024-08-08 at 10 34 53

And as a improvement, it should be like this:

FilterConditionValue<'supplier.name.full', FieldOperators<'personName.full'>, PersonName['full']>

or getting from the ProductSupplierType, but it won't have the correct type because PickFromPath can't find the nested field
FilterConditionValue<'supplier.name.full', FieldOperators<ProductSupplierType['name.full']>, string>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant