Skip to content

nullability information for properties that are collections of complex or entity types is inconsistent #467

@baywet

Description

@baywet

properties that are collections of complex or entity types seem to have inconsistent nullability information.

e.g.

user.identities is

identities:
  type: array
  items:
    anyOf:
      - $ref: '#/components/schemas/microsoft.graph.objectIdentity'
      - type: object
         nullable: true

but should be this since nullable true is the default value when not added as an attribute in the CSDL

identities:
  type: array
  nullable: true
  items:
    $ref: '#/components/schemas/microsoft.graph.objectIdentity'

user.assignedLicences is

assignedLicenses:
  type: array
  items:
    $ref: '#/components/schemas/microsoft.graph.assignedLicense'

but should be

assignedLicenses:
  type: array
  nullable: true
  items:
    $ref: '#/components/schemas/microsoft.graph.assignedLicense'

user.appRoleAssignments is

appRoleAssignments:
  type: array
  items:
    $ref: '#/components/schemas/microsoft.graph.appRoleAssignment'

should be

appRoleAssignments:
  type: array
  nullable: true
  items:
    $ref: '#/components/schemas/microsoft.graph.appRoleAssignment'

Metadata

Metadata

Assignees

Labels

priority:p1High priority but not blocking. Causes major but not critical loss of functionality SLA <=7days

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions