Repository navigation
Conversation
Up to standards ✅🟢 Issues
|
prmukherj
commented
Dec 1, 2026
| Other metadata queries, or allowed-values queries without static data, raise | ||
| ``InactiveObjectError``. The ``is_active()`` method reports the object's own | ||
| activity, which can differ from its ancestors' activity. Named objects must | ||
| still exist when they are accessed by name. |
Collaborator
Author
There was a problem hiding this comment.
@seanpearsonuk, want your suggestion to make the last sentence sound better and read accurately, like the named object should actually exist in server to access them and statically getting them is not possible is what I mean. Could you please help in rephrasing this so as to make it sound correct?
prmukherj
requested review from
hpohekar,
mayankansys,
mkundu1 and
seanpearsonuk
December 1, 2026 04:02
prmukherj
marked this pull request as ready for review
December 1, 2026 04:03
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Children of inactive objects in the API hierarchy could not be aliased without triggering an
InactiveObjectError.Change Summary
If there are no named objects in the path then we allow to traverse based on path, ie. via static info
Rationale
To make the aliasing possible without raising error.
Impact
Users to get error only when they execute and not while aliasing, which makes scripting experience better.
NOTE:
In future we must reduce the contracts from client and allow all apis to be available in the client without any extra checks and must allow the server to handle these. Need to discuss on this point.