Drasil icon indicating copy to clipboard operation
Drasil copied to clipboard

Re-design of `prependAbrv`

Open harmanpreet-sagar opened this issue 1 year ago • 0 comments

Based on the findings and the following discussions of the investigation on the abbreviation functions (#3472), prependAbrv should be removed and replaced with the following design as proposed by @JacquesCarette in this comment.

  1. create a DrasilMeta/DrasilConcept chunk type, which contains a concept. Its domain should contain at least Drasil itself.
  2. The DrasilMeta/DrasilConcept chunk must be created in a manner such that it must have an abbreviation. View this comment for more information on this issue.
  3. create a class HasPrefix with a prefix method. Make sure DrasilMeta/DrasilConcept implements it.
  4. change the chunks for Data Definition (etc) to be DrasilMeta/DrasilConcept
  5. delete prependAbrv and use prefix instead.

harmanpreet-sagar avatar Aug 10 '23 20:08 harmanpreet-sagar