SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

assert-target

A minimal sample of which paths fire @assert.target: an OData POST and this.run do, cds.run and db.run do not, and the ASSERT_TARGET message is overridden per locale in messages.properties.

A minimal project that also settles the message question: @assert.target.message is not supported, but the ASSERT_TARGET key can be overridden per locale in messages.properties. Written in Japanese.

Facts

Last push

Where it sits

Lives in
Demonstrates
Input validationCAPInput validationcapabilityRejecting bad input before it reaches the database. While this can be done manually inside a handler, there are solutions in place to derive type, range, enum and mandatory checks from the model definitions.
Flavors

Who is behind it

Mio YasutakeMio YasutakePersonMaintains this
In the atlas: maintains 47, contributes to 47, wrote 10
@miyasuta
maintainer

Before choosing this

Signals

LicenceNo licenseNeither the package manifest nor the repository tree declares a licence

Without a licence the default is all rights reserved. Ask the maintainer, or check for terms stated elsewhere, before depending on it.

What it declares

Every artifact

Type
Sample
Origin
Independently maintained

As a sample

Form
does not say

Connections1

assert-target connectionsassert-targetPROVIDES→ demonstrates1demonstrates authoredInput validation

README

quoted from miyasuta/assert-target, read
miyasuta/assert-target/readme.mdOn GitHub

@assert.target 検証プロジェクト

CAPの @assert.target アノテーションの動作を検証するための最小構成プロジェクトです。

excerpt, no licence read, read the rest, on GitHub

Details

Sources3
GitHub APIdiscovered here, miyasutachecked
github.com/miyasuta/assert-targettree, pushes, contributors, CIchecked
readme.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viaGitHub API · miyasuta
first seen in the atlas
ecosystem and domaincap, security-and-compliance
Flavors1
Node.js
“`@sap/cds v9.8.2` + `@cap-js/sqlite v2` で検証。” — miyasuta/assert-target — READMEchecked
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:miyasuta-assert-target
JSON
/artifacts/miyasuta-assert-target.json
MCP
Connecting an agent