Skip to content

Commit

Permalink
feat: Create BaseIngestionMode.pdl (#349)
Browse files Browse the repository at this point in the history
* Add writeMode to BaseVersionedAspect.pdl

* Fix typo

* Fix

* Change comment format

* Fix typo

* Moving writeMode to BaseIngestionMode.pdl

* Update enum

* Update model
  • Loading branch information
schuangv2 authored Feb 8, 2024
1 parent bb60eac commit 078ee60
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
namespace com.linkedin.metadata.events

/**
* A base record containing ingestion mode of aspects
* Usage: Aspects can include this record to specify ingestion mode
*/
record BaseIngestionMode {

/**
* Mode used when writing aspect metadata into backend
*/
writeMode: optional enum WriteMode {
/**
* Default write mode. Same behavior as not setting writeMode
*/
DEFAULT

/**
* Override checks that may skip metadata write (eg equality check)
*/
OVERRIDE
}

}

0 comments on commit 078ee60

Please sign in to comment.