fastn-stack / fastn

🚧 (Alpha stage software) fastn - better way to build websites 🚧
https://fastn.com
GNU Affero General Public License v3.0
465 stars 36 forks source link

Fix: list type variable with processor #1908

Closed Arpita-Jaiswal closed 3 months ago

Arpita-Jaiswal commented 3 months ago

This PR addresses an issue where the $processor$ variable was not functioning correctly when used with a list-type variable. The following example previously resulted in an error:

-- import: fastn/processors as pr

-- person list people:
$processor$: pr.sql-query

SELECT * FROM people;

With this fix, the code now executes as expected without any errors.