Skip to content

wip: add function to export method signatures #21

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

Closed
wants to merge 1 commit into from

Conversation

Simon-Laux
Copy link
Contributor

for deltachat jsonrpc to help generating a nice ts interface

for deltachat jsonrpc to help generating a nice ts interface
@Frando
Copy link
Collaborator

Frando commented Jan 23, 2023

yeah, I'd agree that adding a way to use the TS interface from rust for further processing might be nice.
can you make the comment a proper rustdoc doccoment and remove the function?
and maybe we want to add a flag in the proc macro to enable/disable this to not generate unneeded code.

@link2xt
Copy link
Contributor

link2xt commented Sep 18, 2023

Is this PR still interesting to do now that we have #25 merged and have an openrpc_specification() function returning the specification as a string, used by chatmail/core#4587?
Similar feature could be added for TS, but if this TS PR was planned for use in bindings generator, then OpenRPC seems to be a way to go: chatmail/core#4603

@Simon-Laux
Copy link
Contributor Author

we can close this now, it was only an experiment anyway

@Simon-Laux Simon-Laux closed this Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants