-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Graphenes auto type detection doesn't work reliably with our different Question and Answer types. This commit adds a subclass of our subclass of DjangoObjectType with support for resolving Question and Answer types. Additionally the type is explicitly set for `parent_answers` of `Document` and `answer` on `File`. Also updated the `AnswerFactory` to correctly set float and int values for their respective Answers. Closes #432
- Loading branch information
1 parent
ebcc27c
commit 07f8095
Showing
6 changed files
with
229 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.