finish server api

This commit is contained in:
mbecker20
2023-06-20 07:13:14 +00:00
parent 86379d1c79
commit b903e511b5
16 changed files with 493 additions and 82 deletions

View File

@@ -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}",
"}"