Implement GetDynamicMemberNames on SqlMapper.DapperRowMetaObject
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 18.4k
- Forks
- 3.7k
- Avg merge
- 5h 8m
- Merged PRs (30d)
- 1
Description
The dynamic member names are knowable on a DapperRow, certainly you can cast it to IDictionary<string,object> and call Keys.
However, since DapperRow is also a System.Dynamic.IDynamicMetaObjectProvider, It'd be nice if GetDynamicMemberNames would be implemented on SqlMapper.DapperRowMetaObject, so that it can be worked with generically with other non Dapper IDynamicMetaObjectProvider, (and have the members show up in the debugger for Dynamic View).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at SqlMapper.DapperRowMetaObject and inspect how its dynamic member lookup is implemented; compare the existing IDictionary<string,object> Keys behavior with System.Dynamic.IDynamicMetaObjectProvider expectations. Done means GetDynamicMemberNames is implemented and dynamic members appear in the debugger's Dynamic View, with the behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100