Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental: index, index_assign, and nested storage maps #4331

Closed
wants to merge 7 commits into from

Commits on Apr 5, 2023

  1. Configuration menu
    Copy the full SHA
    db3b83f View commit details
    Browse the repository at this point in the history
  2. * Changing the .read() method for StorageHandle to unwrap internally

    * Added `try_read()` that behaves like `read` but returns an `Option`
    * Changed `get` in `StorageMap` to return a `StorageHandle` instead of
      the value directly.
    mohammadfawaz committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    284c7f6 View commit details
    Browse the repository at this point in the history
  3. - Renamed StorageHandle to StorageKey as per the RFC

    - Remove support for type ascription on `self` for now
    - Instead, we now do `impl StorageKey<StorageMap<K, V>>` which seems to
      work just as well
    mohammadfawaz committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    bb4d899 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e0080c9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    52bb053 View commit details
    Browse the repository at this point in the history
  6. Introduce index() and index_assign() to StorageMap and showcase…

    … nested maps
    
    using both `get/insert` and the `[]` operator
    mohammadfawaz committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    9dfa0fb View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. Merge with master

    mohammadfawaz committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    4a90079 View commit details
    Browse the repository at this point in the history