Skip to content

Examples emit deprecation warnings when compiled #2

@glennsl

Description

@glennsl

E.g.

  Warning number 3
  <censored> 76:41-52
  
  74 ┆ Array.map(
  75 ┆   geography =>
  76 ┆     List.exists(id => id == Geography.id(geography), included) ?
  77 ┆       <Geography
  78 ┆         key=(Geography.id(geography))
  
  deprecated: Geography.id
use idGet instead or use {abstract = light} explicitly

I suggest using {abstract = light} to avoid breakage and the quite frankly silly naming scheme used by default.

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