Skip to content

Update DAST site profile mutations to return payload

Dheeraj Joshi requested to merge djadmin-site-profile-graphql-updates into master

Related issue - #356500 (closed)

What does this MR do and why?

Context: The GraphQL mutations for DAST Site Profiles do not return anything except the profile ID and errors.

This MR

  • Adds dast_site_profile field which contains all the fields for Dast Site Profile
  • Deprecate id field as it can fetch with dastSiteProfile.id

This change affects both Create & Update Mutations for DAST Site Profile. It's done to be utilized on the frontend for apollo cache updates.

Screenshots

image

MR Acceptance

Edited by Dheeraj Joshi

Merge request reports

Loading