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
make some dsl standalone and import as plugin.
plugin defined in the server module,
defmodule MyServer do use Maru.Server, otp_app: :my_api plugin Version, using: :param, parameter: "v" end
when plugin defined in the server, we can use custom dsl in router code. The version dsl is defined by plugin.
version
defmodule MyRouter do use MyServer version "v1" end
Plugin only works for routers use MyServer.
use MyServer
prefix namespaces/route_param desc params get/post plug/plug_overridable rescue_from
version mount extend pipeline
The text was updated successfully, but these errors were encountered:
No branches or pull requests
make some dsl standalone and import as plugin.
plugin defined in the server module,
when plugin defined in the server, we can use custom dsl in router code.
The
version
dsl is defined by plugin.Plugin only works for routers
use MyServer
.keep such DSLs internal
move such DSLs to plugin
The text was updated successfully, but these errors were encountered: