./ct_report/coverage/mongoose_graphql_domain.COVER.html

1 -module(mongoose_graphql_domain).
2
3 -export([execute/4]).
4
5 -ignore_xref([execute/4]).
6
7 -include("mongoose_graphql_types.hrl").
8
9 execute(_Ctx, #domain{host_type = HostType}, <<"hostType">>, _Args) ->
10 3 {ok, HostType};
11 execute(_Ctx, #domain{enabled = Enabled}, <<"enabled">>, _Args) ->
12 5 {ok, Enabled};
13 execute(_Ctx, #domain{domain = Name}, <<"domain">>, _Args) ->
14 7 {ok, Name}.
Line Hits Source