We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the process is very manual i.e. given a particular method signature like:
def deleteChat(channelId: String, ts: String, asUser: Option[Boolean]): ZIO[R with SlackEnv, SlackError, Boolean] = sendM(request("chat.delete", "channel" -> channelId, "ts" -> ts, "as_user" -> asUser)) >>= isOk
It should be possible to create a simple macro so that we can just write:
def deleteChat(channelId: String, ts: String, asUser: Option[Boolean]): ZIO[R with SlackEnv, SlackError, Boolean] = Method.buildOk("chat.delete")
Here each of the arguments could be converted from camelCase to snake_case and then the resolver would know how to resolve based on the type.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently the process is very manual i.e. given a particular method signature like:
It should be possible to create a simple macro so that we can just write:
Here each of the arguments could be converted from camelCase to snake_case and then the resolver would know how to resolve based on the type.
The text was updated successfully, but these errors were encountered: