# Direct Method Invocation

> Invoking an operation by direct method call, so it cannot be queued, logged, or undone.

Record: `lexicon:direct-method-invocation`
Kind: anti-pattern
Layer: [Design Patterns Core](https://banes-lab.com/records/layer/design-patterns-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lexicon-direct-method-invocation

Listed in [Lexicon terms](https://banes-lab.com/api/records/lexicon.md), after [Direct Callback Coupling](https://banes-lab.com/records/lexicon/direct-callback-coupling.md) and before [Duplicated Workflow](https://banes-lab.com/records/lexicon/duplicated-workflow.md).

## Category

- [Behavioral Patterns](https://banes-lab.com/records/lexicon-category/behavioral-patterns.md)

## Negated by

- [Command Pattern](https://banes-lab.com/records/architecture/command-pattern.md)

## Linked from

- [Behavioral Patterns](https://banes-lab.com/ontology/principles/architecture-category-behavioral-patterns.md)
