-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
Enchancment: GraphQL Support #60
Comments
|
I've actually taken this own because we're on MongoDB Atlas now that supports this. |
I've run into a blocker on this. Everything works except the spells table:
Here is the generated schema: {
"title": "spell",
"properties": {
"_id": {
"bsonType": "objectId"
},
"area_of_effect": {
"bsonType": "object",
"properties": {
"size": {
"bsonType": "int"
},
"type": {
"bsonType": "string"
}
}
},
"attack_type": {
"bsonType": "string"
},
"casting_time": {
"bsonType": "string"
},
"classes": {
"bsonType": "array",
"items": {
"bsonType": "object",
"properties": {
"index": {
"bsonType": "string"
},
"name": {
"bsonType": "string"
},
"url": {
"bsonType": "string"
}
}
}
},
"components": {
"bsonType": "array",
"items": {
"bsonType": "string"
}
},
"concentration": {
"bsonType": "bool"
},
"damage": {
"bsonType": "object",
"properties": {
"damage_at_character_level": {
"bsonType": "object",
"properties": {
"1": {
"bsonType": "string"
},
"5": {
"bsonType": "string"
},
"11": {
"bsonType": "string"
},
"17": {
"bsonType": "string"
}
}
},
"damage_at_slot_level": {
"bsonType": "object",
"properties": {
"1": {
"bsonType": "string"
},
"2": {
"bsonType": "string"
},
"3": {
"bsonType": "string"
},
"4": {
"bsonType": "string"
},
"5": {
"bsonType": "string"
},
"6": {
"bsonType": "string"
},
"7": {
"bsonType": "string"
},
"8": {
"bsonType": "string"
},
"9": {
"bsonType": "string"
}
}
},
"damage_type": {
"bsonType": "object",
"properties": {
"index": {
"bsonType": "string"
},
"name": {
"bsonType": "string"
},
"url": {
"bsonType": "string"
}
}
}
}
},
"dc": {
"bsonType": "object",
"properties": {
"dc_success": {
"bsonType": "string"
},
"dc_type": {
"bsonType": "object",
"properties": {
"index": {
"bsonType": "string"
},
"name": {
"bsonType": "string"
},
"url": {
"bsonType": "string"
}
}
},
"desc": {
"bsonType": "string"
}
}
},
"desc": {
"bsonType": "array",
"items": {
"bsonType": "string"
}
},
"duration": {
"bsonType": "string"
},
"heal_at_slot_level": {
"bsonType": "object",
"properties": {
"1": {
"bsonType": "string"
},
"2": {
"bsonType": "string"
},
"3": {
"bsonType": "string"
},
"4": {
"bsonType": "string"
},
"5": {
"bsonType": "string"
},
"6": {
"bsonType": "string"
},
"7": {
"bsonType": "string"
},
"8": {
"bsonType": "string"
},
"9": {
"bsonType": "string"
}
}
},
"higher_level": {
"bsonType": "array",
"items": {
"bsonType": "string"
}
},
"index": {
"bsonType": "string"
},
"level": {
"bsonType": "int"
},
"material": {
"bsonType": "string"
},
"name": {
"bsonType": "string"
},
"range": {
"bsonType": "string"
},
"ritual": {
"bsonType": "bool"
},
"school": {
"bsonType": "object",
"properties": {
"index": {
"bsonType": "string"
},
"name": {
"bsonType": "string"
},
"url": {
"bsonType": "string"
}
}
},
"subclasses": {
"bsonType": "array",
"items": {
"bsonType": "object",
"properties": {
"index": {
"bsonType": "string"
},
"name": {
"bsonType": "string"
},
"url": {
"bsonType": "string"
}
}
}
},
"url": {
"bsonType": "string"
}
}
} |
Just dropping this here so it doesn't get lost in discord (and because I'm forgetful)
|
Thanks @ecshreve! |
Honestly, this would be kind of cool to have.
The text was updated successfully, but these errors were encountered: