When exploring the WAPI from the command line, it has always bugged me that there was no easy way to return all associated fields for a given object without explicitly specifying each one. But with schema queries being a thing now, it should be possible to dynamically generate a list of readable fields for a given object type and use that list to return everything during a query.
I'm thinking an optional parameter in Get-IBObject like -AllFields. It would add a round trip to the WAPI endpoint, but that should be ok. It obviously won't work for NIOS versions that don't support schema queries, so you'd throw some sort of Not Supported error for those.
When exploring the WAPI from the command line, it has always bugged me that there was no easy way to return all associated fields for a given object without explicitly specifying each one. But with schema queries being a thing now, it should be possible to dynamically generate a list of readable fields for a given object type and use that list to return everything during a query.
I'm thinking an optional parameter in
Get-IBObject
like-AllFields
. It would add a round trip to the WAPI endpoint, but that should be ok. It obviously won't work for NIOS versions that don't support schema queries, so you'd throw some sort of Not Supported error for those.