You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 31, 2021. It is now read-only.
I appreciate that this project is very new and probably a number of things haven't even been thought about yet (all in good time!) but at a glance I don't see any way that a REST service is supposed to 'know' that it should return results in the expected type provider format. Therefore I suggest that a way of doing this would be through HTTP content negotiation, wherein the REST type provider passes an Accept header containing some special content type to indicate to the server that it expects results in type provider format. This would therefore be easy to switch on using an OWIN middleware component on the server, for example, and wouldn't affect the usefulness of the service for doing whatever job it is meant to do independent of creating type providers. This would then make the type provider library a useful way of making services self-documenting, while not limiting them to being consumed from clients that understand F# type providers