Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add support for NetTopologySuite

未关闭
#369 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
fsharp, sql
领域
database

调研方向

首先检查 FSharp.Data.SqlClient 中现有的 SqlServer.Types 支持,以及处理 SQL Server 值的类型提供程序路径。了解 Dapper 和 Entity Framework Core 如何支持 NetTopologySuite,然后确定项目对空间类型或自定义类型支持的扩展路径。当无需依赖 Microsoft.SqlServer.Types 即可在 dotnetcore 上通过类型提供程序使用 NetTopologySuite 空间数据时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

improvement up-for-grabs
Description

In the past this type provider had support for SqlServer.Types a big part of which are the Spatial Data Types for SQLServer.

Today with the move to dotnetcore Microsoft.SqlServer.Types are no longer supported (only full framework). Dapper and Entityframework core both support NetTopologySuite as a replacement for the Geometry Sql Server Types. This library is much more widely supported and feature complete.

In order once again support Spatial Data Types, and to gain parity with other popular dotnet SQL libraries FSharp.Data.SqlClient should also support Spatial Data Types via NetTopologySuite.

Repro steps

Installing Microsoft.SqlServer.Types shows a warning that the package may not be fully compatible with your project.

Expected behavior

I would expect a path to use Spatial Data Types or support for custom types.

Actual behavior

It is not currently possible to use NetTopologySuite with this type provider.

Known workarounds

Use a different library.

Related information
  • Database: SQL Server 2019
  • Framework: dotnetcore 2.1
主要语言
F#
星标
206
派生
66
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fsprojects/FSharp.Data.SqlClient 的其他 Issue

查看 fsprojects/FSharp.Data.SqlClient 的全部 Issue

相似的 Issue

更多 Databases Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。