Skip to content

Which Api Client preference would you prefer? #201

Answered by mschilling
mschilling asked this question in Q&A
Discussion options

You must be logged in to vote

Optie 2

import { createKrewClient, NewsItem } from '@krew/api-client';

...

const apiClient = createKrewClient({});

apiClient.news.findMany();
apiClient.news.findOne(12345);
apiClient.employees.findMany();

Replies: 2 comments 1 reply

Comment options

mschilling
Jul 9, 2021
Maintainer Author

You must be logged in to vote
0 replies
Comment options

mschilling
Jul 9, 2021
Maintainer Author

You must be logged in to vote
1 reply
@mschilling
Comment options

mschilling Jul 9, 2021
Maintainer Author

Answer selected by mschilling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant