mirror of
https://github.com/wassname/talk.git
synced 2026-07-29 11:28:24 +08:00
[CORL 133] API Review (#2197)
* refactor: removed unused subscription code
* refactor: removed management api's
* refactor: cleanup of connections
* refactor: refactored comments edge
* refactor: simplified connection resolving
* feat: added story connection edge
* fix: added story index
* feat: added user pagination and user edge
* fix: added filter to comment query
* fix: removed unused resolvers
* fix: creating a comment reply should require auth
* refactor: cleanup of graph files
* feat: removed display name, made username non-unique
* fix: fixed tests
* fix: fixed tests
* fix: added more api docs
* fix: fixed bug with installer
* refactor: fixes and updates
* fix: added linting for graphql, fixed schema
* feat: added docker build tests
* fix: upped output timeout
* fix: fixed stacktraces in production builds
* fix: removed `git add`
- `git add` was causing issues with
partial staged changs on files
* feat: improved error messaging for auth
* refactor: cleaned up queue names
* fix: merge error
This commit is contained in:
@@ -80,7 +80,7 @@ it("post a comment", async () => {
|
||||
});
|
||||
return {
|
||||
edge: {
|
||||
cursor: null,
|
||||
cursor: "",
|
||||
node: {
|
||||
...baseComment,
|
||||
id: "comment-x",
|
||||
@@ -127,7 +127,7 @@ const postACommentAndHandleNonVisibleComment = async (
|
||||
});
|
||||
return {
|
||||
edge: {
|
||||
cursor: null,
|
||||
cursor: "",
|
||||
node: {
|
||||
...baseComment,
|
||||
id: "comment-x",
|
||||
|
||||
@@ -40,7 +40,7 @@ beforeEach(() => {
|
||||
});
|
||||
return {
|
||||
edge: {
|
||||
cursor: null,
|
||||
cursor: "",
|
||||
node: {
|
||||
...baseComment,
|
||||
id: "comment-x",
|
||||
|
||||
@@ -85,7 +85,7 @@ it("post a reply", async () => {
|
||||
});
|
||||
return {
|
||||
edge: {
|
||||
cursor: null,
|
||||
cursor: "",
|
||||
node: {
|
||||
...baseComment,
|
||||
id: "comment-x",
|
||||
@@ -137,7 +137,7 @@ it("post a reply and handle non-visible comment state", async () => {
|
||||
});
|
||||
return {
|
||||
edge: {
|
||||
cursor: null,
|
||||
cursor: "",
|
||||
node: {
|
||||
...baseComment,
|
||||
id: "comment-x",
|
||||
|
||||
Reference in New Issue
Block a user