Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove metadata from modules

See original GitHub issue

Since the upcoming concept of having a context provider, the return value that used to set meta information about the module seems to obsolete.

Or is there still a use case for it?

export default (options = {}) => {
  return (module) => {

    // Return some META information about the module
    return {}

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:22 (21 by maintainers)

github_iconTop GitHub Comments

christianalfonicommented, Jul 27, 2016

I see now 😃

So something like:

  newMethod() {}

And all module instantiations now has access to a new method:

module => {
garthcommented, Jul 25, 2016

I have been giving this issue some thought for a while and for my current project I didn’t want to depend on .meta. Meta is not explicit, cannot be validated at the time it’s created and may clash with other modules.

Instead I propose that we try something similar to context, but for modules… when a module is defined it is given module on which we can add[stuff]() I would like to be able to add my own methods to the module param in the same was as we do with signal context. This would allow us to do away with returning the ambiguous meta and enable more explicit features to be added to modules with better control.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ability to remove metadata from uploaded files - Drupal
I am using drupal media along with s3fs module to store/read documents in/from Amazon S3. Is there a way to remove metadata (personal ......
Read more >
gcloud compute project-info remove-metadata
Accelerate your digital transformation; Whether your business is early in its journey or well on its way to digital transformation, Google Cloud can...
Read more >
Remove use of ANSIBLE_METADATA in collection modules #57
SUMMARY ANSIBLE_METADATA has two fields of use: supported_by - this field is no longer relevant as the collection itself is either certified ...
Read more >
How to Read and Remove Metadata from Your Photos ... - Auth0
There are a number of Python modules that can access the EXIF data in digital photos. For this article, we'll focus on exif....
Read more >
Strip out metadata prior to republishing in Wowza module
I started with some sample code which shows how to remove some metadata from the metadata packet. We modified it to remove the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found