Its possible normal farming with all waterlogged blocks
You can put stairs, slabs, trapdoors near a farmland block, even if the stairs do not give access to water.
You can put stairs, slabs, trapdoors near a farmland block, even if the stairs do not give access to water.