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

Document the possible types for the search function #6

Open
binarykitchen opened this issue Jan 29, 2019 · 4 comments
Open

Document the possible types for the search function #6

binarykitchen opened this issue Jan 29, 2019 · 4 comments
Labels
C LOW PRIORITY (If active, product is fully shippable) LOE1 minimal Level Of Effort

Comments

@binarykitchen
Copy link

In your Readme the search function also has the parameter type:
https://github.com/tksventures/pimbridge#searchresource-params-typelist-callback

But it's not documented. What it is for and which one types are supported? Thx

@MikeLuDev
Copy link
Contributor

@rafaeloaguirre I believe that you can answer this.

@rafaeloaguirre
Copy link

@binarykitchen Hello. Thank you for your inquiry. Currently, type can be 'list' or 'count'. The first type returns the ids and types of the resources that match the parameters provided while the second one return the number of resources matching them. The count function in the package is basically an alias of the search function with 'count' parameter.
As work in the package continues, we will likely expand the types associated with the search function and update our documentation to provide more details.

@binarykitchen
Copy link
Author

Sweet as, do that and update documentation.

@michalmikolajczyk michalmikolajczyk changed the title What types are possible for the search function? Document the possible types for the search function Feb 1, 2019
@michalmikolajczyk
Copy link
Contributor

moving this to our backlog thanks for your feedback @binarykitchen

@michalmikolajczyk michalmikolajczyk added C LOW PRIORITY (If active, product is fully shippable) LOE1 minimal Level Of Effort labels Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C LOW PRIORITY (If active, product is fully shippable) LOE1 minimal Level Of Effort
Projects
None yet
Development

No branches or pull requests

4 participants