summaryrefslogtreecommitdiffstats
path: root/rust/TODO
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-15 22:10:05 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-15 22:10:05 -0700
commit1080766f12ac63e9d62ed623ec2d8368b9c1c7ce (patch)
treee966daac800c0763e870a493f79e8dd7e883e229 /rust/TODO
parent6e96f5e6e409f2bf2c389c7315f0747ab9e24d00 (diff)
downloadfatcat-1080766f12ac63e9d62ed623ec2d8368b9c1c7ce.tar.gz
fatcat-1080766f12ac63e9d62ed623ec2d8368b9c1c7ce.zip
basic error/response handling
Diffstat (limited to 'rust/TODO')
-rw-r--r--rust/TODO19
1 files changed, 14 insertions, 5 deletions
diff --git a/rust/TODO b/rust/TODO
index 0c81c5ea..23885dc2 100644
--- a/rust/TODO
+++ b/rust/TODO
@@ -4,13 +4,22 @@ x re-generate OpenAPI
=> cargo swagger (docker) seems to only use latest
x iron-slog
x integrate API server example into a main.rs
-- get and post for creators
-- cleanup pooled database: https://github.com/diesel-rs/diesel/pull/1466
+x get and post for creators
+x cleanup pooled database: https://github.com/diesel-rs/diesel/pull/1466
+- clean up blasse error handling a bit
+- add 404s to gets
+- wow. fix a bunch of api schema names ("FindASingleContainerByExternalIdentifer")
+- creators, releases, works, files (?)
+- one-to-many relationship (eg, works)
+- many-to-many relationship (eg, creators)
+- refactor handlers to have a proper Result<_,_> error-chain type, so I can use '?'
+- copypasta a bunch of CRUD
+- helper to calculate state of idents
then:
-- encode the remaining entities in SQL
-- openapi for other entities (heavily templated)
-
+x encode the remaining entities in SQL
+x openapi for other entities (heavily templated)
+- figure out JSON(B) in both swagger and diesel
later:
- metrics, jwt, config, sentry, testing