kitlangton / zio-app

Quickly create and develop full-stack Scala apps with ZIO and Laminar.
124 stars 33 forks source link

Allow configuration of DeriveClient #9

Open kitlangton opened 3 years ago

kitlangton commented 3 years ago

Currently, DeriveClient.gen is hardcoded to send requests to /<service>/<method>, which will only really work when used with a proxying dev server, or served as static assets from the backend. Allow the host and route prefix to be configured.