kriasoft/react-firebase-starter

Add sendMessage() mutation

Open

#371 opened on 2019年9月12日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)JavaScript (4,475 stars) (773 forks)batch import
enhancementgood first issuehelp wanted

説明

Add a GraphQL mutation that will be used on the Contact Us page and Send Feedback modal dialog. For example:

mutation {
  sendMessage(input: { type: FEEDBACK, message: "Hello world!", email: "user@example.com" })
}

See

  • src/mutations/SendMessage.js
  • src/server/mutations/contact.js

Bonus points for making it work with Firebase reCaptcha.

コントリビューターガイド