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

Allow returning static content in Doc in RPC #212

Open
Jand42 opened this issue Sep 25, 2019 · 0 comments
Open

Allow returning static content in Doc in RPC #212

Jand42 opened this issue Sep 25, 2019 · 0 comments

Comments

@Jand42
Copy link
Member

Jand42 commented Sep 25, 2019

Needs a WebSharper feature to enable this, see dotnet-websharper/core#1065.

Sending Doc's from the client should throw a compile-time error. Any non-serializable content sent from the server should throw a server-side error while running the RPC call instead of returning an empty object.

See a use case at https://stackoverflow.com/questions/58052959/using-websharper-to-render-svgs-server-side/58054334

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

No branches or pull requests

1 participant