From 75645950f954e3a9518559eda68a7400e6db38f1 Mon Sep 17 00:00:00 2001 From: Zaiming Shi Date: Tue, 3 Nov 2020 13:28:24 +0100 Subject: [PATCH] chore(xref): Ignore xref checks for enterprise modules Schema registry is so far only used in enterprise edition. --- rebar.config | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rebar.config b/rebar.config index acaa17a35..4ce151a5b 100644 --- a/rebar.config +++ b/rebar.config @@ -49,3 +49,13 @@ , {rulesql, {git, "https://github.com/emqx/rulesql", {tag, "0.1.2"}}} , {getopt, "1.0.1"} ]}. + +{xref_ignores, + [ %% schema registry is for enterprise + {emqx_schema_registry,get_all_schemas,0}, + {emqx_schema_api,format_schema,1}, + {emqx_schema_api,make_schema_params,1}, + {emqx_schema_parser,decode,3}, + {emqx_schema_parser,encode,3}, + {emqx_schema_registry,add_schema,1} +]}.