dotnet-websharper / core

WebSharper - Full-stack, functional, reactive web apps and microservices in F# and C#
https://websharper.com
Apache License 2.0
589 stars 52 forks source link

Add StubInterfaces option to allow all interfaces to be treated as they would have [<Stub>] attribute #1386

Closed Jooseppi12 closed 5 months ago

Jooseppi12 commented 5 months ago

Adding a "stubInterfaces": true wsconfig setting that disregards .NET code semantics for interfaces (automatic unique naming to avoid conflicts) and all interfaces work as stubs.

Jand42 commented 5 months ago

adding a "stubInterfaces": true wsconfig setting that disregards .NET code semantics for interfaces (automatic unique naming to avoid conflicts) and all interfaces work as stubs (as JS mixins)