Adding logic to GridNode

I found this: Extending GridGraph to include my game logic data. Best approach? showing how to extend the GridNode with some custom logic but that approach seems to now be obsolete.

What’s the new proper way to accomplish the same thing?