Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
graphql_webform
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
graphql_webform
Merge requests
!51
3506037: Add help elements.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
3506037: Add help elements.
issue/graphql_webform-3506037:3506037-add-support-for
into
8.x-1.x
Overview
0
Commits
75
Pipelines
2
Changes
161
Closed
Dirk Debrunner
requested to merge
issue/graphql_webform-3506037:3506037-add-support-for
into
8.x-1.x
4 months ago
Overview
0
Commits
75
Pipelines
2
Changes
161
Expand
Closes
#3506037
0
0
Merge request reports
Compare
8.x-1.x
version 1
0daeca15
4 months ago
8.x-1.x (base)
and
latest version
latest version
0e918ab0
75 commits,
4 months ago
version 1
0daeca15
74 commits,
4 months ago
161 files
+
4632
−
4152
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
161
Search (e.g. *.vue) (Ctrl+P)
graphql/webform.base.graphqls
0 → 100644
+
69
−
0
Options
scalar WebformSubmissionFileUpload
scalar WebformSubmissionValue
type Mutation {
submitWebform(
id: String!
elements: [WebformSubmissionElement]
files: [WebformSubmissionFile]
sourceEntityId: String
sourceEntityType: String
): WebformSubmissionResult!
}
type Webform {
id: String!
title: String!
elements: [WebformElement]
}
type WebformSubmissionResult {
errors: [String]
validationErrors: [WebformSubmissionValidationError]
submission: WebformSubmission
}
type WebformSubmission {
id: Int!
uuid: String!
token: String!
webform: Webform!
sourceEntityType: String
sourceEntityId: String
}
type WebformSubmissionValidationError {
"""
The ID of the webform element for which the validation errors occurred.
"""
element: String
"""
The validation error messages.
"""
messages: [String]
}
input WebformSubmissionElement {
"""
The name of the webform element.
"""
element: String!
"""
The value. Can be anything that is consumable by form API submission.
"""
value: WebformSubmissionValue!
}
input WebformSubmissionFile {
"""
The name of the webform element.
"""
element: String!
"""
The file to upload. This is usually null and the file is appended via
multipart form data maps.
"""
file: WebformSubmissionFileUpload
}
Loading