Skip to content

apollo-encoder@0.2.3

Choose a tag to compare

@lrlna lrlna released this 01 Apr 10:40
· 775 commits to main since this release
ec36606

0.2.3 - 2022-04-01

Important: 1 breaking change below, indicated by BREAKING

BREAKING

  • GraphQL Int Value is an i32 - bnjjj, pull/197
    We previously represented Int Values as i64, which is not compliant with the spec. This is now rectified.

Features

  • Support 'alias' on fields - bnjjj, pull/191

    // results in "smallImage: displayImage" encoding
    let mut aliased_field = Field::new(String::from("displayImage"));
    aliased_field.alias(Some(String::from("smallImage")));