-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retain metadata on namespaces and function definitions #269
Comments
Namespaces currently don't keep metadata, I'll fix that.
|
Thanks for the clarification, I was trying to get the meta from the symbol key, but as you mention its available on the var itself 👍 |
This now works in the
TODO:
|
What's that about that map with |
@wilkerlucio Yes, that's an attribute map (which is just another name for metadata). |
Cool, in this implementation, its also possible to get the meta from the |
@wilkerlucio I don't recommend depending on the internal structure of the sci env atom. You can get the metadata like this (when this feature is done):
|
Ok, makes sense, thanks for the clarification. |
I still want to use the |
@wilkerlucio You can get all namespaces with
|
@wilkerlucioT his should now work in the
So I think combined with |
TODO
|
@wilkerlucio I now fixed the above one. You can detect newly created namespaces like this now:
|
Cool, that sounds right! Thanks for iterating so quickly on this :) |
@wilkerlucio This feature is now deploying as |
Is your feature request related to a problem? Please describe.
The problem is that I would like to make decisions based on the var metadata of namespaces and functions, currently, this information is not visible in the SCI environment.
Describe the solution you'd like
I like to have this information exposed in the symbol metadata present on the
:namespace
keys of the environment. So a code like this would work:The text was updated successfully, but these errors were encountered: