REST API
I'm reopening the feature request from @darky https://github.com/JasperFx/marten/issues/2639. I might be working on it in the next month. Already did some thought process around it.
Discussed in https://github.com/JasperFx/marten/discussions/2799
Originally posted by darky July 7, 2023 Would be great to have REST API for exposing Marten outside of .NET community
REST implies HTTP-based. Is gRPC also considered? I don't know what will be better for usage, but I see advantage for gRPC as a strong contract of the API can be defined with the proto-files. Sure, to some extend that can be done for REST with OpenAPI too, but it's way weaker.
Yes, gRPC is also considered, although I'm not an extreme fan of gRPC tbt.
Just an idea: since JasperFx products tend to reference each other (Marten using Weasel etc...) it may make sense to develop this feature by building on Wolverine and its Http Endpoints, especially since Wolverine already has some degree of integration with Marten. Otherwise there is a real risk of reinventing the wheel in terms of modelling request processing pipelines, cancellation tokens management etc...