Exploring Graphs with Elixir: use macro for queries p45

I think that this:

use GraphCommons.Query, graph_type: :native, graph_module: __MODULE__

Should be:

use GraphCommons.Query, query_type: :native, query_module: __MODULE__

But I’m really not sure. The book states to dupe graph.ex to create query.ex but to replace graph with query. So, this seems logical. But the calling module, NativeGraph in this case, is the same. Perhaps,

use GraphCommons.Query, query_type: :native, graph_module: __MODULE__

is the correct form :slight_smile: