mirror of
https://github.com/moghtech/komodo.git
synced 2025-12-23 04:59:47 -06:00
finish server api
This commit is contained in:
4
.vscode/resolver.code-snippets
vendored
4
.vscode/resolver.code-snippets
vendored
@@ -4,8 +4,8 @@
|
||||
"prefix": "resolve",
|
||||
"body": [
|
||||
"#[async_trait]",
|
||||
"impl Resolve<${1}, ${2}> for State {",
|
||||
"\tasync fn resolve(&self, req: ${1}, args: ${2}) -> anyhow::Result<${3}> {",
|
||||
"impl Resolve<${1}, RequestUser> for State {",
|
||||
"\tasync fn resolve(&self, ${1} { ${0} }: ${1}, user: RequestUser) -> anyhow::Result<${2}> {",
|
||||
"\t\ttodo!()",
|
||||
"\t}",
|
||||
"}"
|
||||
|
||||
Reference in New Issue
Block a user