Skip to content

Commit

Permalink
feat: Add BaseVersionedAspect.pdl (#344)
Browse files Browse the repository at this point in the history
* Add BaseVersionedAspect.pdl

* Revert local dev changes

* Address PR

* Add comments

* Add comments
  • Loading branch information
schuangv2 authored Jan 30, 2024
1 parent e072b78 commit 356e9e3
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
namespace com.linkedin.metadata.aspect

/**
* A base record containing semantic version of aspects
* Usage: Aspects can include this record to add semantic version metadata to themselves
*/
record BaseVersionedAspect {

/**
* The version of the metadata aspect
*/
baseSematicVersion: optional record BaseSematicVersion {
/**
* The major version of this version. This is the x in x.y.z.
*/
major: int

/**
* The minor version of this version. This is the y in x.y.z
*/
minor: int

/**
* The patch version of this version. This is the z in x.y.z
*/
patch: int
}
}

0 comments on commit 356e9e3

Please sign in to comment.