CatchTheTornado/askql

Enable string property names

YonatanKra opened this issue · 1 comments

ask {
	const starWarsCharacters = fetch('https://swapi.dev/api/people'):at('results')
  starWarsCharacters:map(fun(character) {
    {
      'Character name': character:at('name'),
      'Hair Color': character:at('hair_color'),
      'Year of Birth': character:at('birth_year'),
      gender: character:at('gender'),
    }
  })
}

I like this 👌