Skip to content

Add a way to slice a list #666

@saschanaz

Description

@saschanaz

What is the issue with the Infra Standard?

The Notifications spec tries to consume only the initial part of a list:

  1. For each entry in options["actions"], up to the maximum number of actions supported (skip any excess entries):

Would be nice to have an infra term so that it could be something like (the grammar chosen randomly):

  1. For each entry in the slice(0, 2) of options["actions"]

Edit: 666 😲

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions