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

Attempt to remove csc and lift all calls to the root of the api object <major> #160

Open
lakardion opened this issue Sep 19, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@lakardion
Copy link
Member

Right now every time we define a custom call we have to go within csc or customServiceCalls key which might be a bit of an overhead in terms of DX, and a bit confusing for initial lib users.
With this change the idea is to surface all the custom methods to the root of the api object so there's no field in the way for using these custom calls.

Something to consider when implementing this is that we will have to ban keys that are being currently used in the api root object:
So custom service calls should not be able to be called:

  • create
  • list
  • update
  • remove
  • client
@lakardion lakardion added the enhancement New feature or request label Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant