fauna-labs / fauna-schema-migrate

The Fauna Schema Migrate tool helps you set up Fauna resources as code and perform schema migrations.
MIT No Attribution
88 stars 11 forks source link

`Containsstr is not defined` error when ContainsStr() function is used in a UDF #103

Closed zeekhoo closed 3 years ago

zeekhoo commented 3 years ago

Using the built in function in a UDF definition. The migration file transposes it to all lowercase: Containsstr.

After fixing the migration file manually by correcting Containsstr back to ContainsStr, running the the apply command gives us the error:

ReferenceError: Containsstr is not defined 
github-actions[bot] commented 3 years ago

Internal ticket number is LABS-71

rts-rob commented 3 years ago

Thank you for this submission.

This is a JavaScript driver error; follow https://github.com/fauna/faunadb-js/issues/521 for additional details.