We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Existing API requires users to define "container type" and then lenses:
type reqCreate struct { Class string } var ( dsClass = µ.Optics1[reqCreate, string]() ) func (api *LifecycleAPI) Create() µ.Routable { return µ.POST( µ.URI(µ.Path("ds"), µ.Path(dsClass)), ...
The notation can be simplified if combinator creates lens by itself:
func (api *LifecycleAPI) Create() µ.Routable { return µ.POST( µ.URI(µ.Path("ds"), µ.Path[reqCreate]("Class")), ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Existing API requires users to define "container type" and then lenses:
The notation can be simplified if combinator creates lens by itself:
The text was updated successfully, but these errors were encountered: