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

Provide convenience functions for CRUD of custom resources #70

Open
obmarg opened this issue Aug 4, 2019 · 0 comments
Open

Provide convenience functions for CRUD of custom resources #70

obmarg opened this issue Aug 4, 2019 · 0 comments

Comments

@obmarg
Copy link
Owner

obmarg commented Aug 4, 2019

#56 added custom resource support to kazan. However, CRUD requests on custom resources require a user to manually build a Kazan.Request type. It'd be good to provide some utility functions for building these requests.

I'm thinking something along the lines of:

defmodule Kazan.CustomResources do
  @spec create(struct) :: Kazan.Request
  @spec delete(struct) :: Kazan.Request
  # Etc.
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant