Comment 5 for bug 1935037

Revision history for this message
Dirk Zimoch (dirk.zimoch) wrote (last edit ):

I would prefer to traverse the "normal" structure way with '.' instead of '->'.
In particular as using '.' in qsrv creates a structure (with char restriction removed from validateFieldName):

    info(Q:group, {
        "PV" : {
            "my.field": {+type:plain, +channel:VAL},
            "my.other-field": {+type:plain, +channel:VAL},
        }

$ pvget PV
PV structure
    structure record
        structure _options
            uint queueSize 0
            boolean atomic true
    structure my
        double field 0
        double other-field 0

Being able to access the fields in a simple way would be nice:

$ pvget PV.my.other-field