Commit graph

54 commits

Author SHA1 Message Date
Brian Beck
14487a747e
Use graphql-tag on extension schemas to get syntax highlighting (#52)
* Use graphql-tag on extension schemas to get syntax highlighting

* Replace graphql-tag with a simple implementation that just uses graphq.parse()
2017-11-18 15:48:23 -08:00
Brian Beck
c3be2a2e98
More resolveType fixes, this time for Relay's nodeDefinitions (#51)
* More resolveType fixes, this time for Relay's nodeDefinitions

* Add a loadExtension helper

* Use createContext in test helpers
2017-11-18 00:35:28 -08:00
Brian Beck
2de2e60079
Fix resolveType after the schema has been extended (#50) 2017-11-17 22:34:46 -08:00
Brian Beck
8c0a9f44ef
Adopt Prettier (but keep Standard) via ESLint (#48) 2017-11-06 21:54:56 -08:00
Brian Beck
35f6cf63ea
Don't fail if no extensions are passed to createContext options (#47) 2017-11-05 11:59:39 -08:00
Brian Beck
75e24c18bc
Add missing Area type/typeID, pass start() options to middleware (#46) 2017-11-04 15:32:05 -07:00
Brian Beck
e77143fbd7
Bump deps, use latest updateSchema feature from graphql-markdown (#45)
* Bump deps, use latest updateSchema feature from graphql-markdown
2017-11-01 22:40:52 -07:00
Brian Beck
d2f4d118fc Add CORS support to the standalone server 2017-10-19 21:40:29 -07:00
Brian Beck
a3fc3e97af Fix Cover Art Archive config showing in MediaWiki extension docs 2017-10-19 08:36:33 -07:00
Brian Beck
51cc879363 Add missing description to MediaWikiImage 2017-10-19 01:45:34 -07:00
Brian Beck
898ec78a6f Add a schema extension API and several extensions (#42)
* Add a schema extension API and several extensions
* Update graphql-markdown to use new diffSchema function
* Update Node support
2017-10-19 01:00:21 -07:00
Brian Beck
b5d0dcce91 Add a nodes field to every connection (#41)
* Add a nodes field to every connection
* Document nodes field
2017-10-06 19:43:15 -07:00
Brian Beck
698ba58492 Bump deps and fix rating type (#38)
* Bump deps and fix rating type
* Add a new test macro, testThrows, due to GraphQL bug
2017-10-05 20:27:53 -07:00
Brian Beck
f6ca61233c Point package.json:bin at cli.js 2017-05-15 21:28:54 -07:00
Brian Beck
1d63867e07 Fix typo in cover art docs 2016-12-19 21:53:25 -08:00
Brian Beck
4cac7ac76c Add support for cover art via the Cover Art Archive (#17) 2016-12-19 21:21:07 -08:00
Brian Beck
35a1f0f86b Bump dependencies, tweak descriptions and field/arg order 2016-12-14 23:18:53 -08:00
Brian Beck
780596480a Add Disc type, lookup, and discs field on Media (#16)
* Add Disc type, lookup, and discs field on Media
* Remove query optimization so search subqueries work
2016-12-13 21:18:33 -08:00
Brian Beck
7d45b44cda Add ratings (#15) 2016-12-13 20:50:38 -08:00
Brian Beck
003585fb86 Fix beginArea description 2016-12-13 20:05:35 -08:00
Brian Beck
e27d08b171 Add more tests for scalars 2016-12-13 00:32:21 -08:00
Brian Beck
bb8f277c13 New relationship tests, rewrite test names 2016-12-12 23:25:23 -08:00
Brian Beck
6ae2fa259d Tweak collections field description, try codecov.io reporting 2016-12-12 09:43:17 -08:00
Brian Beck
d906ec1086 Add support for release media (#14) 2016-12-12 01:01:40 -08:00
Brian Beck
9601b400b5 Give every entity a collections field (#13) 2016-12-12 00:34:26 -08:00
Brian Beck
c2f7d9b836 Move relationship connection args to end 2016-12-12 00:02:58 -08:00
Brian Beck
8b8338b332 Add Node.resolveType tests 2016-12-11 21:56:28 -08:00
Brian Beck
441c9cd8b8 Reorder args so connection pagination args come last 2016-12-11 21:09:37 -08:00
Brian Beck
ef8e67c8a6 Add support for browsing and looking up collections (#12)
Fixes #6.
2016-12-11 20:03:05 -08:00
Brian Beck
0600c2026b Use Duration scalar for recording lengths (#11) 2016-12-11 16:12:54 -08:00
Brian Beck
01b305dd50 Support browsing by Disc ID, ISRC, ISWC (#10)
* Browse queries for releases, recordings, and works now support
  browsing by Disc ID, ISRC, and ISWC, respectively
* Add `DiscID`, `ISRC`, and `ISWC` scalars
* Add missing `isrcs` field to `Recording`

Fixes #7.
2016-12-11 13:09:28 -08:00
Brian Beck
b2ec20ed2c Rename artistCredit fields to artistCredits (#9)
* Rename artistCredit field to artistCredits
* Update deprecation rendering
2016-12-11 12:32:58 -08:00
Brian Beck
94cdf5922f Add list of IPIs and ISNIs to Artist 2016-12-10 09:51:33 -08:00
Brian Beck
325c6db0ce Add support for more MusicBrainz features, improve test coverage 2016-12-09 18:55:41 -08:00
Brian Beck
3252b52dc1 Add tests, fix cases where loaders are not passed params 2016-12-08 14:33:18 -08:00
Brian Beck
19e7f978eb Add new tests and coverage 2016-12-07 00:23:02 -08:00
Brian Beck
e5072de21a Update log messages 2016-12-02 23:59:19 -08:00
Brian Beck
6cb41e1ce0 Internal renames, update dependencies, add Travis config 2016-12-02 00:21:10 -08:00
Brian Beck
8eb0feaa8a Improve support for fragments 2016-11-29 23:53:01 -08:00
Brian Beck
2dfd2aa88d Add missing Oxford commas, add descriptions for enums, render interface fields 2016-11-29 18:18:50 -08:00
Brian Beck
bbfeb12c16 Correct alias description to match schema 2016-11-29 00:12:59 -08:00
Brian Beck
7c062ad3d8 Add more argument descriptions, add new rendered type docs, move schema.md to doc dir 2016-11-28 19:14:43 -08:00
Brian Beck
531ed4e9b8 Add search score field to edges 2016-11-28 06:43:32 -08:00
Brian Beck
3f33173391 Fix Tag description 2016-11-28 06:24:41 -08:00
Brian Beck
092c37bad7 Add tags, aliases, more optimized API calls, fix offset 2016-11-28 05:49:04 -08:00
Brian Beck
5f0710e353 Move query fields to live alongside query types 2016-11-26 19:19:18 -08:00
Brian Beck
742b70f834 Comments and docs 2016-11-26 02:37:23 -08:00
Brian Beck
7780c97339 Add graphbrainz script and docs 2016-11-25 18:18:41 -08:00
Brian Beck
1eeaa83eef Relay-compliant API 2016-11-25 17:38:32 -08:00
Brian Beck
116775eaca wip 2016-09-01 01:39:27 -07:00