DapperLib / DapperLib/Dapper

How to turn Arrays support off in v1.31

Open
#150 19 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

db:postgresql needs-investigation
Dominant language
C#
Stars
18.4k
Forks
3.7k
Avg merge
5h 8m
Merged PRs (30d)
1

Description

The ability to turn off arrays support has been removed on version 1.31

FeatureSupport.Get(cn).Arrays = false;
This doesn't work anymore since the property can only be set privately. I wonder the reason behind this.
There are some queries in PostGreSQL in which it is convenient to turn array support off.

Thanks.
Diego

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting FeatureSupport.Get(cn) and the change that made Arrays privately settable in version 1.31. Check how PostgreSQL queries use array support and determine whether the intended outcome is to restore an opt-out or explain the removal. Done means the supported behavior for disabling arrays is clear and works for the reported PostgreSQL queries.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, postgresql
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.