1.0.0 • Published 1 year ago

@f1stnpm2/natus-repudiandae-quod v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Mercurius Apollo Registry Plugin

A Mercurius plugin for schema reporting to Apollo Studio.

Installation

npm install @f1stnpm2/natus-repudiandae-quod

Please note that this plugin requires Mercurius as a dependency.

Usage

This plugin can be used to report a given GraphQL schema to the Apollo Studio Registry.

Set up Apollo Studio

In order to use this plugin, you should already have an account with Apollo Studio as well as at least one target graph already defined. Each graph has a unique API key associated with it that will be required by this plugin at start up.

You can find more information about Apollo Studio here.

Add plugin to your fastify instance

const mercuriusApolloRegistry = require('@f1stnpm2/natus-repudiandae-quod')

fastify.register(mercuriusApolloRegistry, {
  schema,
  apiKey
})

Plugin options

  • schema string (required) A stringified version of the GraphQL schema used by Mercurius.
  • apiKey string (required) API key for the specific graph you wish to reference in Apollo Studio.
  • graphVariant string (optional) The GraphQL variant to use in Apollo Studio. Defaults to current.
  • registryUrl string (optional) The registry API endpoint to use. Defaults to https://schema-reporting.api.apollographql.com/api/graphql.

Registry Protocol

A complete reference for the registry reporting protocol can be found in the Apollo GraphQL Documentation.

This plugin aims to allow integration and operability between Apollo Studio and Mercurius.

Contributing

See CONTRIBUTING.md

License

Copyright NearForm Ltd 2021. Licensed under the Apache-2.0 license.

iteratecharacterwgetobjectquoteform-validationmodulevariables in cssmergebootstrap cssstylesheetStyleSheetpatch6to5cjkrmdiroptimizerArray.prototype.flattestingpackage managerclonecallpromisesortlook.envTypedArrayfullwidthhttpsmochatypedlinkencryptioninstallerajvArray.prototype.filterirqenderECMAScript 2019eslint-pluginArrayimmerweakmapbyteLengthformattinginternalstatelessreduxstyleguidedragopenernamesenvnegative zeroES2018letmake__proto__keysfast-copydefaultclassnamesRegExp#flagses-shim APIlengthmonorepodiffl10nArray.prototype.flatMapcomputed-typespreserve-symlinksphonejoifpless cssgetPrototypeOfString.prototype.matchAllspinnersECMAScript 5installgenericswrapReflect.getPrototypeOfnopehardlinkscopypropertiesxdg-openformsregular expressionswhatwgcodesgetoptavaeventsoptionmobilefull-widthtimeinternal slotworkspace:*loggerschemeFloat64Arraycore@@toStringTagi18nfoldereventEmitterbatchfindshimenumerablevalueshigher-orderclientdescriptorstatusecmascriptstructuredClonethrottlestreamwatchprocessremoveemitconcatrmcircularramdaJSONfast-clonefastcloneBigInt64ArrayschemaPushes8graphqlrandomdeepcopyWeakMapFloat32Arrayjson-schemamrufullstringifierarraybufferES2017utilityformatsearcharraypackage.jsonmulti-packageES2016karmacode pointsframeworkeverysymbolTypeScriptvaluehaspreprocessorpostcss-pluginfromprefixsyntaxInt32ArrayinvariantWebSocketsuninstalltoolkitSymbol.toStringTagES8regularpackagereadtakemake dirwritepicomatchBigUint64Arrayes5limitfast-deep-copygroupByfindupsetPrototypeOfObject.valuesjsregexECMAScript 2017sharedarraybuffervalidateCSSfindLastcheckObject.keysdotenvchromeless.jscolumnshttppropertybyteOffsetconcatMapmomentcryptoentrieswritabletswebsiteduplex3dless mixinscommand-linetoArrayexpressionfastspeedcompile lessdeterministicutilitiesdatelessrecursiveflagmacosWeakSetcacheregular expressionfastcopyairbnbchaiES6wordwraptermreactreact-testing-librarybluebirdfigletwatchingasciiprettyes7gradients css3commanderhashconsolejavascriptfindLastIndexequalECMAScript 2016flatjwttypedarrayparserclass-validatorpushfast-deep-clonebddsanitizationObject.assigncoercibleES7eventDispatcherbcryptserializationreact posemimetypesmatchesserializerargseslintconfigeast-asian-widthstreams2babel-coreindicatordeep-copyaccessorkeypathratelimitcallbindchannelonceMicrosofthookformreadablestreamdom-testing-librarytranspileexit-code-0specstablecliauthenticationasyncopensforEachshellchinesecore-jsreact-hook-formbootstrap lessisprunedirnodejsshebangvarprivate dataESnextajaxPromisenested cssawesomesaucesetImmediatenumbersignalwordbreaksuperstructkoreanfunctionsdependenciesrequireobjtypeerrorcommandlanguageES5springRFC-6455functionalparentsvalidES2015Int16ArraynpmessymlinkdatastructuresigintUint32ArrayStreamscall-bindECMAScript 7bytesigtermtrimLeftcompilerapptypeofJSON-SchemamatchAllloggingbannerarraysplugin$.extendcollectionmime-dbspinnercallboundfsbundlerassignArrayBuffer#sliceisConcatSpreadableexecurlsspawnenvironmentassertsYAMLprotocol-buffersECMAScript 2023framerextendstarterinferenceviewes2016equalityrapidtrimRightreducervisualHyBidirectoryObjecta11yes6operating-systemECMAScript 2021propmixinsgetintrinsicjsxruntimeString.prototype.trimterminaltypesafeerrorclassesURLSearchParamsupemojibabelES2021protoTypeBoxcreatewatchFileassertSetassertionArrayBuffer.prototype.sliceelectronsymlinkspopmotionharmonyjestmkdirarktypemovesetterperformancethreelimitedArray.prototype.containsgetOwnPropertyDescriptorObject.iscssxdgfiltersuperagentreduce_.extendRegExp.prototype.flagspureexecutablechromiumES2020debuggeryupvesttypesxtermcomparerm -frinspecttrimStartdeeptexttranspilersharedurlRxJSeditorhelperstestreusesignalsuuidshamstarthookstraverseeslintpluginflagsECMAScript 6ienegativevalidationfixed-widthcharacterstyped arrayoutputmapweaksetbusyredux-toolkittapenativefetchMaptrim[[Prototype]]exitefficientwindowsloadingES2022touchfantasy-landbundlingcss variabledeleteapidataViewutil.inspectidlepromisesmiddlewarepostcssWebSocketoptimistextraArray.prototype.includesminimalbrowserlistrfc4122symbolslibphonenumberansi
1.0.0

1 year ago