Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 620 Bytes

File metadata and controls

25 lines (14 loc) · 620 Bytes
outline deep

DF0027: Invalid Dump Configuration

Package: devframe

Migrated from DTK0007.

Message

Function "{name}" with type "{type}" cannot have dump configuration. Only "static" and "query" types support dumps.

Cause

A dump field was attached to an 'action' or 'event' function. These types perform side effects rather than returning queryable data — there is nothing meaningful to pre-compute.

Fix

Drop the dump field, or change the function type to 'static' / 'query' if pre-computation is appropriate.

Source

packages/devframe/src/rpc/validation.ts