Skip to content

Use "map of string" for query_parameters #25

@cwe1ss

Description

@cwe1ss

Hi! The current syntax for query_parameters uses a "map of list of string". I know it's the same in AzAPI but I'm wondering if there really is a reason to use this complex format, or if you could reconsider this for msgraph and use a simple map instead? I pretty much always forget the brackets :(

It's also confusing because headers uses "map of string".

# Current syntax
query_parameters = {
  "$select" = ["id,mailNickName"]
}

# Proposed syntax
query_parameters = {
  "$select" = "id,mailNickName"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions