Skip to content

Add type safe noop entity graph for generated entity graphs - #78

Merged
reda-alaoui merged 1 commit into
Cosium:masterfrom
Cedricboisselrichard:add_noop_entity_graph_for_generated_entity_graphs
Sep 27, 2022
Merged

Add type safe noop entity graph for generated entity graphs#78
reda-alaoui merged 1 commit into
Cosium:masterfrom
Cedricboisselrichard:add_noop_entity_graph_for_generated_entity_graphs

Conversation

@Cedricboisselrichard

Copy link
Copy Markdown
Contributor

Hi there,

I would like to add an equivalent of EntityGraph.NOOP inside the generated entity graphs so that I will be able to provide my generated entity graph as a method parameter instead of using the interface EntityGraph (which contains the static variable EntityGraph.NOOP).

This will allow compilation failure when we provide the wrong entity graph :)

@reda-alaoui
reda-alaoui merged commit d6c47df into Cosium:master Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants