edgedb / easy-edgedb

An illustrated textbook designed to be a one-stop shop for learning EdgeDB
https://www.edgedb.com/easy-edgedb
69 stars 36 forks source link

Chapter 14 - Practice Question 5 - potential issue #123

Closed bryanjnelson closed 7 months ago

bryanjnelson commented 10 months ago

In Chapter 14, on the final practice question, the answer is given as such:

{
  schema::ObjectType {
    name: 'default::MinorVampire',
    annotations: {
      schema::Annotation {
        name: 'std::description',
        @value: 'first_appearance for MinorVampire should always match last_appearance for its matching NPC type',
      },
    },
  },
}

However, in light of the fact that the question asks for the name of the annotation to be note, shouldn't

name: 'std::description',

be

name: 'std::note',

?

Dhghomon commented 7 months ago

Yes, looks like it's default::note as opposed to std::description which is for built-in annotations. Thanks!