Skip to content

fix: correctly get and set top level contentType property#625

Merged
SimenB merged 6 commits into
masterfrom
fix-setting-content-type
Apr 16, 2024
Merged

fix: correctly get and set top level contentType property#625
SimenB merged 6 commits into
masterfrom
fix-setting-content-type

Conversation

@SimenB
Copy link
Copy Markdown
Collaborator

@SimenB SimenB commented Apr 16, 2024

It currently just reads the default prop, and then no longer affect or reflect reality

Comment thread index.js

exports.register = require('./lib/registry').globalRegistry;
exports.Registry = require('./lib/registry');
exports.contentType = require('./lib/registry').globalRegistry.contentType;
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this into getter/setter is the fix (first commit of PR)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant