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

Question: Support JSON data sources?

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

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

評価

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

調査の方向性

まず、提案されている公開 ISqlProvider インターフェイス、FSharp.Data のスキーマ処理、JsonValue.Parse を確認し、その後、関連する Postgres JSON issue #523 を読んでください。有用な成果には、定義された provider の範囲、クエリ構文への統合計画、およびテストが必要ですが、この issue ではそれらの実装上の境界が指定されていません。

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

説明

enhancement

Should we made some of the internal classes/interfaces (like 'ISqlProvider') public so that there could be another project, to reference/combine both FSharp.Data and SQLProvider, to allow query { ... }-syntax to be used with queryable data-sources that return JSON. For example:

  • MongoDB
  • Elasticsearch
  • Redis
  • CosmosDB
  • Google Cloud Storage
  • Amazon RDS/Aurora

FSharp.Data can parse JSON sample data. So each provider could use SQLProvider structure and call FSharp.Data to get the schemas, users could then write strongly typed query { ... } and SQLProvider would translate the query to provider specific query-language (if plain SQL is not supported, which often is). The response is basically SqlEntity of column/s that is actually untyped JSON data. FSharp.Data is having JsonValue.Parse that could be used to parse the responses to some more usable format.

Currently these data-sources do have some specific apis/libraries for F#, but don't support the standard
query { ... }-syntax. On the other hand I don't know would we get enough users that it would be worth of work.

This is kind of related to Postgres JSON features, #523

主要言語
F#
スター
627
フォーク
147
平均マージ
2時間 2分
マージ済み PR(30日)
1

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

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

はじめの一歩

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

fsprojects/SQLProvider のほかの issue

fsprojects/SQLProvider の issue をすべて見る

似ている issue

Databases の issue をもっと見る

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

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