Remove metadata from modules
See original GitHub issueSince 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:
- Created 7 years ago
- Comments:22 (21 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see now 😃
So something like:
And all module instantiations now has access to a new method:
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 canadd[stuff]()
I would like to be able to add my own methods to themodule
param in the same was as we do with signal context. This would allow us to do away with returning the ambiguousmeta
and enable more explicit features to be added to modules with better control.