I want to declare an undefined variable in case further use isn’t needed. Currently, I am implementing the following.
movies as var(func: uid(0x01))
0x01 doesn’t exist, I use the variable without any issues since it is already declared. This way I avoid implementing logical tolls that define if the variable would be used or not.
Is it a better way to do it?
Do you think I am properly using resources by applying this solution?