MCPcopy
hub / github.com/Automattic/mongoose / helloPlugin

Function helloPlugin

test/index.test.js:499–501  ·  view source on GitHub ↗
(schema)

Source from the content-addressed store, hash-verified

497
498 it('global plugins recompile schemas (gh-7572)', function() {
499 function helloPlugin(schema) {
500 schema.virtual('greeting').get(() => 'hello');
501 }
502
503 const m = new Mongoose();
504

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…