diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-15 23:05:07 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-15 23:05:07 -0700 |
commit | 8517c76b92d5fa7041c330438e33f2b08924ac7b (patch) | |
tree | 1d2b76814b9b18218d75df67a98c5149b5dd3384 /rust/TODO | |
parent | 386928f9c5860afca72b4ae00c4d5e28efc50bef (diff) | |
download | fatcat-8517c76b92d5fa7041c330438e33f2b08924ac7b.tar.gz fatcat-8517c76b92d5fa7041c330438e33f2b08924ac7b.zip |
refactor error handling
Diffstat (limited to 'rust/TODO')
-rw-r--r-- | rust/TODO | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,10 +9,10 @@ x cleanup pooled database: https://github.com/diesel-rs/diesel/pull/1466 x clean up blasse error handling a bit x add 404s to gets x wow. fix a bunch of api schema names ("FindASingleContainerByExternalIdentifer") -- creators, releases, works, files (?) +- refactor handlers to have a proper Result<_,_> error-chain type, so I can use '?' - 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 '?' +- creators, releases, works, files (?) - copypasta a bunch of CRUD - helper to calculate state of idents |