Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Graphql Bundle Laravel Package

overblog/graphql-bundle

View on GitHub
Deep Wiki
Context7

Mutation

Mutation:
    type: object
    config:
        fields:
            introduceShip:
                builder: "Relay::Mutation"
                builderConfig:
                    inputType: IntroduceShipInput
                    payloadType: IntroduceShipPayload
                    mutateAndGetPayload: "@=mutation('create_ship', [value['shipName'], value['factionId']])"

#   input IntroduceShipInput {
#     clientMutationId: string!
#     shipName: string!
#     factionId: ID!
#   }
IntroduceShipInput:
    type: relay-mutation-input
    config:
        fields:
            shipName:
                type: "String!"
            factionId:
                type: "String!"

#   type IntroduceShipPayload {
#     clientMutationId: string!
#     ship: Ship
#     faction: Faction
#   }
IntroduceShipPayload:
    type: relay-mutation-payload
    config:
        fields:
            ship:
                type: "Ship"
            faction:
                type: "Faction"

Here the same example without using relay mutation.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
takashato/laravel-vietqr
aitor24/laralang
kraenzle-ritter/entity-relations
dindigital/din-image
pomirleanu/image-colors
sawmainek/laravel-api-generator
delatbabel/jsonresponses
mouhamedfd/permissions-generator
eduplus/qr
laravel2580/idehelpers
delatbabel/viewpages
anavel/gettext
muhamadrezaar/highcharts
delatbabel/keylists
frankkessler/salesforce-laravel-oauth2-rest
anavel/foundation
wdmtech/enviricons
eii/laravel-captcha
muka/shape-reader
tdt/json