bchavez / bchavez/Bogus

Record type support

Open
#436 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
C#
Stars
9.7k
Forks
538
PR merge metrics
No merged PRs in 30d

Description

Does this library support c# record types in some way?

Right now I get "No parameterless constructor defined". But records don't have parameterless constructors and shouldn't have it.
Is there a way to force the library to populate records through the record constructor? Automapper works with it just fine.

Contributor guide

Open the contributing guide

Research direction

No source file, entry point, or test is named. Start by reproducing the parameterless-constructor error with a C# record and tracing the library's object-construction path. Done means record types can be populated through their constructors, with tests covering the supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.