Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Source-generated EDM metadata and dictionary-based serialization

Open
#351 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start with the reflection-based EntityPropertiesMapper and determine the scope of the proposed compile-time source generator and IEntitySerializable interface. Done should include a source-generated serialization path that avoids reflection and establishes whether nested complex-type properties can be persisted in primitive columns.

Written by the indexing model from the issue text.

Description

Right now we have a reflection-based EntityPropertiesMapper, that only supports primitive types (or fails at run-time).

We could use a compile-time source generator (no need to actually emit anything for intellisense, since this is all for run-time) that implements an interface (i.e. IEntitySerializable) so that the mapper can check if the entity to convert supports this mechanism and avoid any reflection altogether.

This could also be the foundation for arbitrary object graphs to be persisted in primitive columns too, in particular for complex-type record properties that improve API design like structured Address and the like. So perhaps not lists and collections, but nested properties only?

Back this issue
Back this issue

Dominant language
C#
Stars
27
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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.

More from devlooped/TableStorage

All issues in devlooped/TableStorage

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.