Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Classes to Schema #152

Merged
merged 52 commits into from
Apr 23, 2024
Merged

Added Classes to Schema #152

merged 52 commits into from
Apr 23, 2024

Conversation

isabellahoie
Copy link
Collaborator

Overview

Added Class and Class Instance models and resolvers to schema file so that the queries appear in the schema.graphql file.

Changes Made

Slightly changed name of field in Class model to class_instances to make it more descriptive. Added model Class to schema.py file and the resolver for resolving class_instances. Added model ClassInstance to schema.py file and the resolver for resolving gym and the class_ fields, which are gyms and then the general class objects.

Test Coverage

Manual testing using the graphql playground.

Related PRs or Issues

#141

Isabella Hoie added 30 commits April 15, 2023 16:19
…added activity and gym rresolvers to the schema
…added activity and gym rresolvers to the schema
Copy link
Contributor

@kidzegeye kidzegeye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@daisychangm daisychangm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good!

@kidzegeye kidzegeye merged commit 908c817 into master Apr 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants