GraphQL - Update DAST scanner profile mutations to return payload
Proposal
The GraphQL mutations for DAST Scanner Profiles need to return the complete payload in the response. This is to facilitate the auto-update of apollo cache used in the frontend.
With the redesign, the profile gets updated in the right panel (within drawer) and the left panel (On-demand scan) form should display the updated profile information.
Implementation
- Update
ee/app/graphql/mutations/dast_scanner_profiles/update.rbto return updated fields - Update
ee/app/graphql/mutations/dast_scanner_profiles/create.rbto return updated fields
Edited by Dheeraj Joshi