{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":466436538,"defaultBranch":"main","name":"sqlx-crud","ownerLogin":"treydempsey","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-03-05T11:42:05.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/97684?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1680845498.0","currentOid":""},"activityList":{"items":[{"before":"49199007c891bf9155078032f3b52335767b1154","after":"cf4f15c33283cc81452f1b0a6586f05beaa917c4","ref":"refs/heads/main","pushedAt":"2023-04-18T05:03:58.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"treydempsey","name":"Trey Dempsey","path":"/treydempsey","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97684?s=80&v=4"},"commit":{"message":"Futures are Send (#10)\n\n* WIP Ive got sqlx_crud::Crud::by_id working. See axum-test repo\r\n\r\n* Fixed axum-test build\r\n\r\n* Added axum-test as a workspace\r\n* Added better error handling to /tasks/:id/crud `task_sqlx_crud`\r\n\r\n= Running the axum-test Example Code\r\n\r\n```bash\r\n$ cd axum-test\r\n$ sqlite3 rust.db\r\nsqlite> CREATE TABLE tasks (id INTEGER PRIMARY KEY AUTOINCREMENT, task TEXT NOT NULL);\r\nsqlite> INSERT INTO tasks (task) VALUES ('one');\r\nsqlite> INSERT INTO tasks (task) VALUES ('two fish');\r\nsqlite> INSERT INTO tasks (task) VALUES ('blue fish');\r\nsqlite> .quit\r\n$ DATABASE_URL=\"sqlite://$PWD/rust.db\" cargo run\r\n$ curl http://localhost:3000/tasks/2/crud\r\n{\"id\":2,\"task\":\"two fish\"}\r\n$ curl -v http://localhost:300/tasks/4/crud\r\n...\r\n< HTTP/1.1 404 Not Found\r\n```\r\n\r\n* Converted sqlx_crud::Crud::create to Send\r\n\r\n* Converted sqlx_crud::Crud::update to Send\r\n\r\n* Cleanup\r\n\r\n* Updated docs\r\n* Removed row_to_model in favor of using sqlx::FromRow::from_row\r\n* Simplified the code in a few places\r\n\r\n* Mark all futures as + Send. Verified update and delete work with axum.\r\n\r\n* Added an additional example testing behavior posted by crat0z\r\n\r\n* Renamed examples/issue-9 to serenity\r\n\r\n* Fixes Issue #9\r\n\r\n* Bumped version number to 0.4.\r\n* Fixed integration with axum and other systems requiring futures to be\r\n Send\r\n* Pulled in syn 2.0.x","shortMessageHtmlLink":"Futures are Send (#10)"}},{"before":"5d6370be80bee1f7a977d8a38d8bbb9c2e91ae7e","after":"125e4ef49cc178e060935d4a7279d89cbf71a370","ref":"refs/heads/axum-support","pushedAt":"2023-04-18T04:56:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"treydempsey","name":"Trey Dempsey","path":"/treydempsey","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97684?s=80&v=4"},"commit":{"message":"Fixes Issue #9\n\n* Bumped version number to 0.4.\n* Fixed integration with axum and other systems requiring futures to be\n Send\n* Pulled in syn 2.0.x","shortMessageHtmlLink":"Fixes Issue #9"}},{"before":"1bcd3d7cbfb1f374f53d43809b2ed391d4494884","after":"5d6370be80bee1f7a977d8a38d8bbb9c2e91ae7e","ref":"refs/heads/axum-support","pushedAt":"2023-04-17T03:55:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"treydempsey","name":"Trey Dempsey","path":"/treydempsey","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97684?s=80&v=4"},"commit":{"message":"Renamed examples/issue-9 to serenity","shortMessageHtmlLink":"Renamed examples/issue-9 to serenity"}},{"before":"1463921ec811df5a86384e2f44b2dfe7d774e9fa","after":"1bcd3d7cbfb1f374f53d43809b2ed391d4494884","ref":"refs/heads/axum-support","pushedAt":"2023-04-17T03:43:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"treydempsey","name":"Trey Dempsey","path":"/treydempsey","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97684?s=80&v=4"},"commit":{"message":"Added an additional example testing behavior posted by crat0z","shortMessageHtmlLink":"Added an additional example testing behavior posted by crat0z"}},{"before":"5e02f3c4e6f21e93f362129bd66f62cc54aa4fef","after":"1463921ec811df5a86384e2f44b2dfe7d774e9fa","ref":"refs/heads/axum-support","pushedAt":"2023-04-17T03:28:50.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"treydempsey","name":"Trey Dempsey","path":"/treydempsey","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97684?s=80&v=4"},"commit":{"message":"Mark all futures as + Send. Verified update and delete work with axum.","shortMessageHtmlLink":"Mark all futures as + Send. Verified update and delete work with axum."}},{"before":"76126ae16f44b14d9b1dfc53fd9b3aa34ce3a402","after":"5e02f3c4e6f21e93f362129bd66f62cc54aa4fef","ref":"refs/heads/axum-support","pushedAt":"2023-04-07T07:37:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"treydempsey","name":"Trey Dempsey","path":"/treydempsey","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97684?s=80&v=4"},"commit":{"message":"Converted sqlx_crud::Crud::create to Send","shortMessageHtmlLink":"Converted sqlx_crud::Crud::create to Send"}},{"before":"8ea4a72cdc98cc47727e62e8380e6f96d8092369","after":"76126ae16f44b14d9b1dfc53fd9b3aa34ce3a402","ref":"refs/heads/axum-support","pushedAt":"2023-04-07T05:51:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"treydempsey","name":"Trey Dempsey","path":"/treydempsey","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97684?s=80&v=4"},"commit":{"message":"Fixed axum-test build\n\n* Added axum-test as a workspace\n* Added better error handling to /tasks/:id/crud `task_sqlx_crud`\n\n= Running the axum-test Example Code\n\n```bash\n$ cd axum-test\n$ sqlite3 rust.db\nsqlite> CREATE TABLE tasks (id INTEGER PRIMARY KEY AUTOINCREMENT, task TEXT NOT NULL);\nsqlite> INSERT INTO tasks (task) VALUES ('one');\nsqlite> INSERT INTO tasks (task) VALUES ('two fish');\nsqlite> INSERT INTO tasks (task) VALUES ('blue fish');\nsqlite> .quit\n$ DATABASE_URL=\"sqlite://$PWD/rust.db\" cargo run\n$ curl http://localhost:3000/tasks/2/crud\n{\"id\":2,\"task\":\"two fish\"}\n$ curl -v http://localhost:300/tasks/4/crud\n...\n< HTTP/1.1 404 Not Found\n```","shortMessageHtmlLink":"Fixed axum-test build"}},{"before":null,"after":"8ea4a72cdc98cc47727e62e8380e6f96d8092369","ref":"refs/heads/axum-support","pushedAt":"2023-04-07T05:31:38.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"treydempsey","name":"Trey Dempsey","path":"/treydempsey","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/97684?s=80&v=4"},"commit":{"message":"WIP Ive got sqlx_crud::Crud::by_id working. See axum-test repo","shortMessageHtmlLink":"WIP Ive got sqlx_crud::Crud::by_id working. See axum-test repo"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADGtmtgAA","startCursor":null,"endCursor":null}},"title":"Activity ยท treydempsey/sqlx-crud"}