# `ZebbraCredo.Check.AshEntryPoints`
[🔗](https://github.com/zebbra/zebbra_credo/blob/v1.0.0/lib/zebbra_credo/check/ash_entry_points.ex#L1)

## Basics

> #### This check is disabled by default. {: .neutral}
>
> [Learn how to enable it](`e:credo:config_file.html#checks`) via `.credo.exs`.

This check has a base priority of `high` and works with any version of Elixir.

## Explanation

A LiveView, worker or other domain that builds an `Ash.Query` or
`Ash.Changeset`, or calls `Ash.read/2` and friends itself, bypasses the
domain's public interface. Define an action with arguments and a code
interface on the domain instead, and call that.

## Check-Specific Parameters

Use the following parameters to configure this check:

### `:files`

  Files to check (Credo's `included`/`excluded` globs); defaults to `lib/`.

*This parameter defaults to* `%{included: ["lib/"]}`.

## General Parameters

Like with all checks, [general params](`e:credo:check_params.html`) can be applied.

Parameters can be configured via the [`.credo.exs` config file](`e:credo:config_file.html`).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
