Skip to content

Commit

Permalink
add graphql implementation for post comments (#2741)
Browse files Browse the repository at this point in the history
* updated dependencies

* update drizzle schema

updated drizzle schema to incorporate new changes

* add pothos plugin for implementing relay graphql connections

* add some common graphql connection utitlies

* add graphql implementation for organization read/write functionalities

added graphql mutation resolvers for creating, reading, updating and
deleting an organization

* fix some stuff in user graphql implementation

extracted out `updatedAt` field as its own resolver for better access
control

* fix user tests according to new changes

* update gql tada introspection result

* delete tag folders table

tags can be used as folders for tags, so
there is no requirement for a seperate table for
managing tag folders

* add utility function

added a utility function that takes in a javascript
object and a list of key paths within that object
as arguments and outputs all paths among those
key paths that correspond to a non-undefined value

* add graphql implementation for organization membership

added graphql implementation for handling read/write operations for an
organization membership

added graphql implementation for handling read operations for relations
between organization membership, organization and user

* add utility for checking if a value is null or undefined

* add graphql implementation for tag

added graphql implementation for handling read/write operations for a
tag

added graphql implementation for handling read operations for relations
between tag and organization

* add advertisement graphql implementation

added graphql implementation for handling read/write operations for an
advertisement

added graphql implementation for handling read operations for relations
between advertisement and organization

* fixed some error messages

* update drizzle schema

* add post graphql implementation

added graphql implementation for handling read/write operations for a post

added graphql implementation for handling read operations for relations between post and organization

* fixed imports for some modules

* update node, pnpm version and dependencies

* add post vote graphql implementation

added graphql implementation for handling read/write operations for a
post vote

added graphql implementation for handling read operations for relations
between post and post voters

* update drizzle schema

* add comment graphql implementation

added graphql implementation for handling read/write operations for a
post comment

added graphql implementation for handling read operations for relations
between comment and post

* add comment vote graphql implementation

added graphql implementation for handling read/write operations for a comment vote

added graphql implementation for handling read operations for relations between comment and comment voters
  • Loading branch information
xoldd authored Dec 8, 2024
1 parent d6ed320 commit c683fd8
Show file tree
Hide file tree
Showing 195 changed files with 13,811 additions and 2,317 deletions.
2 changes: 1 addition & 1 deletion docker/api.Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN curl -fsSL https://fnm.vercel.app/install | bash -s -- --skip-shell \
WORKDIR /home/talawa/api

# This build stage sets up and switches to the `talawa` non root user, sets up pnpm configuration and checks out into the `/home/talawa/api` directory as the working directory.
FROM node:22.11.0-bookworm-slim AS base
FROM node:22.12.0-bookworm-slim AS base
# Used to configure the group id for the group assigned to the non-root "talawa" user within the image.
ARG API_GID
# Used to configure the user id for the non-root "talawa" user within the image.
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit c683fd8

Please sign in to comment.