Skip to content

Postman grapghql introspection/script not loading enums #12861

@AsetaShadrach

Description

@AsetaShadrach

Is there an existing issue for this?

  • I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

When generating the body for a graphql request , enums aren't being generated as a drop down on the postman UI. But if i use the playground with apollo server I can see the drop down.

There was someone with a similar issue but I can't see how they resolved it the issue was just closed after 30 days
https://community.postman.com/t/graphql-input-enums/59544/4

Steps To Reproduce

Here are the variables generated in the schema

enum PermissionScope {
  GENERAL
  SECURITY
  NETWORK
  USERS
  TRANSACTIONS
  STORAGE
  PAYLOAD
  BILLING
  INFRASTRUCTURE
  DEVICES
  LOGS
  PIPELINES
  CI_CD
  ML_AI
  DB
  REPORTS
}


input PermissionInput {
  permission: String!
  isApproved: Boolean!
  permissionEffectGroup: PermissionEffectGroup!
  permissionScope: PermissionScope!
  lastUpdatedBy: String!
}

Screenshots or Videos

On the playground the drop down shows up

playground

On postman the dropdown does not show

postman gql

Operating System

Linux

Postman Version

10.24.25

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions