Skip to content

Documentation Improvements for Spark.Dsl.Entity #39

@erikaaus

Description

@erikaaus

Proposal

This issues is to keep track of improvement ideas for the documentation for Spark.Dsl.Entity.

Questions

  • There are three undocumented functions in the module. Do we want to @doc false these functions, or write documentation for them?
  • What field are required for an Entity? Do we want to specially notate that in some way?

Work to be done

  • Fix inconsistent capitalization of key terms
  • Write 1-2 paragraph description of what Entities are for, and how they are used.
  • Add basic example of an Entity struct in moduledoc
  • Add custom types for each Entity struct field. Move detailed explanation of fields and specific examples to @typedocs on these types.
    • Add typedoc - args
    • Add typedoc - auto_set_fields
    • Add typedoc - deprecations
    • Add typedoc - describe
    • Add typedoc - docs
    • Add typedoc - entities
    • Add typedoc - examples
    • Add typedoc - hide
    • Add typedoc - identifier
    • Add typedoc - imports
    • Add typedoc - links
    • Add typedoc - modules
    • Add typedoc - name
    • Add typedoc - no_depend_modules
    • Add typedoc - recursive_as
    • Add typedoc - schema (typedoc belongs in  Spark.OptionsHelper)
    • Add typedoc - singleton_entity_keys
    • Add typedoc - snippet
    • Add typedoc - target
    • Add typedoc - transform
      • Fix transform type from mfa() to {module(), function :: atom(), args :: [any()]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions