Skip to content
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

ibek ids names vary and this is confusing #73

Closed
gilesknap opened this issue May 18, 2023 · 3 comments
Closed

ibek ids names vary and this is confusing #73

gilesknap opened this issue May 18, 2023 · 3 comments

Comments

@gilesknap
Copy link
Member

If I want to refer to another object in a ibek.ioc.yaml file then I refer to it by its ID. However id might be 'name' or 'device' or any other arg on the object I'm referring to. There is no way to find out which arg to refer to without looking in the support.yaml.

It is true to say that 'name' and 'device' are the full set of options presently. Perhaps this could be resolved simply by listing the set of arg names that are used as ids (and hope that nothing needs to use two of these arg names??!!)

@AlexanderWells-diamond hit this issue working on his first IOC

@gilesknap
Copy link
Member Author

Best solution for this is for str on the object to render its id string. Then you do not need to know which Arg is the ID.

I believe this is already implemented. TODO verify this.

@gilesknap
Copy link
Member Author

fixed in e921794

gilesknap added a commit that referenced this issue Sep 4, 2023
fix for #73 - render object entities as their id value
@gilesknap
Copy link
Member Author

merged in #87

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

No branches or pull requests

1 participant