Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Define mapping from custom scalar types to domain types on a client side

オープン
#281 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
fsharp, graphql
領域
api

調査の方向性

まず、issue に記載されているクライアント側の provider API と、既存のカスタム scalar の coercion 処理を追跡します。provider が提供するマッピングによってレスポンスの scalar をドメイン型に変換する方法を定義し、次に operation のレスポンスがプリミティブ型ではなくそれらのマッピングを使用していることを確認します。特定のファイルやテストは指定されていません。

索引モデルが issue の本文から書いたものです。

説明

Description

It would be extremely nice to be able to define a list of mapping between custom scalar types and real domain types. Like when you define coercion functions on server side.
Otherwise now it is not convenient to use primitive types and you need to convert your operation response type to a domain type that requires you to either fill existing domain types or create new.

Expected behavior

When you define a provider you can pass a list of mappings with coercion functions the same as you use for custom scalar types on a server-side.

Actual behavior

Primitive types are used

Known workarounds

Write boilerplate code to transform them

Related information
  • FSharp.Data.GraphQL 1.0.5
主要言語
F#
スター
406
フォーク
74
平均マージ
1日 8時間
マージ済み PR(30日)
14

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fsprojects/FSharp.Data.GraphQL のほかの issue

fsprojects/FSharp.Data.GraphQL の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。